summaryrefslogtreecommitdiff
path: root/src/aircraft_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-09-13 10:19:51 +0000
committersmatz <smatz@openttd.org>2008-09-13 10:19:51 +0000
commit66be028ad4bb32758115ad10e542104b80d79eed (patch)
tree13719aee50b7d6e902e7f4499a4cd1c9311ea099 /src/aircraft_cmd.cpp
parentfc62d736f700ca344531a96ca02324695af8d761 (diff)
downloadopenttd-66be028ad4bb32758115ad10e542104b80d79eed.tar.xz
(svn r14307) -Fix: when deleting a station, remove news items regarding it
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r--src/aircraft_cmd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp
index 7a6d45c19..c09dd852b 100644
--- a/src/aircraft_cmd.cpp
+++ b/src/aircraft_cmd.cpp
@@ -1402,7 +1402,8 @@ static void AircraftEntersTerminal(Vehicle *v)
STR_A033_CITIZENS_CELEBRATE_FIRST,
(v->owner == _local_player) ? NS_ARRIVAL_PLAYER : NS_ARRIVAL_OTHER,
v->index,
- 0);
+ st->index
+ );
}
v->BeginLoading();