summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-12-21 23:27:58 +0000
committerdarkvater <darkvater@openttd.org>2004-12-21 23:27:58 +0000
commit452db59121462bd0c1e36e9da179316dcd0e47df (patch)
treee7f0d0b320fd24814891039231dcd5eab36423f2 /station_cmd.c
parent6e1353ed985442462374b8cc4027d8677932138d (diff)
downloadopenttd-452db59121462bd0c1e36e9da179316dcd0e47df.tar.xz
(svn r1211) -Feature: Introduce sticky windows to all vehicle windows...Just make sure you do not sticky more than 23 at a time. Also a lot of places in the code invalidated the 'status bar' of the vehicle, referring to it as widget 4. This is now widget 5 and has been #definitized
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 4ce56ea54..72ea344e5 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -1683,6 +1683,7 @@ END_TILE_LOOP(tile_cur, w,h,tile)
for (i = 0; i < afc->nof_depots; ++i)
DeleteWindowById(WC_VEHICLE_DEPOT, tile + afc->airport_depots[i]);
+
st->airport_tile = 0;
st->facilities &= ~FACIL_AIRPORT;