diff options
author | bjarni <bjarni@openttd.org> | 2006-09-26 16:47:51 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-09-26 16:47:51 +0000 |
commit | f7769e885e1a928018a9be33553a887cb00babf7 (patch) | |
tree | 381d620a928fbc6c40266c4078ae71959a878f36 /station_cmd.c | |
parent | 65a3777a403f1c3eb0f2856bf0b0073b4c83fad9 (diff) | |
download | openttd-f7769e885e1a928018a9be33553a887cb00babf7.tar.xz |
(svn r6513) -Codechange: unified the code to draw depot windows
This change is intended to make it easier to make depot behaviour consistent
and faster to code when adding more features in the future
The user interface should hopefully not be affected by this
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/station_cmd.c b/station_cmd.c index b9a479235..81261d333 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -83,7 +83,6 @@ MemoryPool _station_pool = { "Stations", STATION_POOL_MAX_BLOCKS, STATION_POOL_B MemoryPool _roadstop_pool = { "RoadStop", ROADSTOP_POOL_MAX_BLOCKS, ROADSTOP_POOL_BLOCK_SIZE_BITS, sizeof(RoadStop), &RoadStopPoolNewBlock, NULL, 0, 0, NULL }; -void ShowAircraftDepotWindow(TileIndex tile); extern void UpdateAirplanesOnNewStation(Station *st); static void MarkStationDirty(const Station* st) @@ -2272,7 +2271,7 @@ static void AnimateTile_Station(TileIndex tile) static void ClickTile_Station(TileIndex tile) { if (IsHangar(tile)) { - ShowAircraftDepotWindow(tile); + ShowDepotWindow(tile, VEH_Aircraft); } else { ShowStationViewWindow(GetStationIndex(tile)); } |