summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
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 */