diff options
author | fonsinchen <fonsinchen@openttd.org> | 2013-06-09 13:08:52 +0000 |
---|---|---|
committer | fonsinchen <fonsinchen@openttd.org> | 2013-06-09 13:08:52 +0000 |
commit | 0fc198cb00536ddf415b278d7afc554c22e2058b (patch) | |
tree | 51302f62cbb57a341394a1e27909e4c723aec0e5 /src/station_cmd.cpp | |
parent | b4ab43be5f2067e161939c87230a0d2ad9bdd952 (diff) | |
download | openttd-0fc198cb00536ddf415b278d7afc554c22e2058b.tar.xz |
(svn r25365) -Feature: show cargo by next hops and final destinations in the station GUI
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 958462b04..502ba15e5 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2285,7 +2285,7 @@ CommandCost CmdBuildAirport(TileIndex tile, DoCommandFlag flags, uint32 p1, uint st->RecomputeIndustriesNear(); InvalidateWindowData(WC_SELECT_STATION, 0, 0); InvalidateWindowData(WC_STATION_LIST, st->owner, 0); - InvalidateWindowData(WC_STATION_VIEW, st->index); + InvalidateWindowData(WC_STATION_VIEW, st->index, -1); if (_settings_game.economy.station_noise_level) { SetWindowDirty(WC_TOWN_VIEW, st->town->index); @@ -2361,7 +2361,7 @@ static CommandCost RemoveAirport(TileIndex tile, DoCommandFlag flags) st->airport.Clear(); st->facilities &= ~FACIL_AIRPORT; - InvalidateWindowData(WC_STATION_VIEW, st->index); + InvalidateWindowData(WC_STATION_VIEW, st->index, -1); if (_settings_game.economy.station_noise_level) { SetWindowDirty(WC_TOWN_VIEW, st->town->index); |