diff options
author | yexo <yexo@openttd.org> | 2009-07-10 19:41:03 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-07-10 19:41:03 +0000 |
commit | abc4f9b9a0d4e3989df7298a7026e32cf42cf94e (patch) | |
tree | 5a308a6617528d4fa3b08f9a467b138b2f77e54f | |
parent | 3b8d0621a2621531e9be38cf3247e015558f1971 (diff) | |
download | openttd-abc4f9b9a0d4e3989df7298a7026e32cf42cf94e.tar.xz |
(svn r16786) -Fix [FS#3027] (r16752): only one tile was selected when the build airport window was opened instead of an area with the size of the airport
-rw-r--r-- | src/airport_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp index 107c186a8..c57112c4a 100644 --- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -206,8 +206,8 @@ public: { this->SetWidgetLoweredState(BAW_BTN_DONTHILIGHT, !_settings_client.gui.station_show_coverage); this->SetWidgetLoweredState(BAW_BTN_DOHILIGHT, _settings_client.gui.station_show_coverage); - this->LowerWidget(_selected_airport_type + BAW_SMALL_AIRPORT); this->OnInvalidateData(); + this->SelectOtherAirport(_selected_airport_type); if (_settings_game.economy.station_noise_level) { ResizeWindowForWidget(this, BAW_BOTTOMPANEL, 0, 10); |