summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-11-05 16:34:22 +0000
committeralberth <alberth@openttd.org>2010-11-05 16:34:22 +0000
commitfa13971337e00ffcd02524bd8a8ce794001564f9 (patch)
tree624dda236f4e315b455ee599f2009d04f1fdff75 /src/ship_cmd.cpp
parent5e3991e20e39fdbe772c68b58ad2fcb88acdf707 (diff)
downloadopenttd-fa13971337e00ffcd02524bd8a8ce794001564f9.tar.xz
(svn r21088) -Doc: Additions/corrections of doxygen comments.
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp
index 019693547..24e9eb654 100644
--- a/src/ship_cmd.cpp
+++ b/src/ship_cmd.cpp
@@ -317,6 +317,11 @@ static bool ShipAccelerate(Vehicle *v)
return (t < v->progress);
}
+/**
+ * Ship arrives at a dock. If it is the first time, send out a news item.
+ * @param v Ship that arrived.
+ * @param st Station being visited.
+ */
static void ShipArrivesAt(const Vehicle *v, Station *st)
{
/* Check if station was ever visited before */