mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(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
This commit is contained in:
parent
3b8d0621a2
commit
abc4f9b9a0
@ -206,8 +206,8 @@ public:
|
|||||||
{
|
{
|
||||||
this->SetWidgetLoweredState(BAW_BTN_DONTHILIGHT, !_settings_client.gui.station_show_coverage);
|
this->SetWidgetLoweredState(BAW_BTN_DONTHILIGHT, !_settings_client.gui.station_show_coverage);
|
||||||
this->SetWidgetLoweredState(BAW_BTN_DOHILIGHT, _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->OnInvalidateData();
|
||||||
|
this->SelectOtherAirport(_selected_airport_type);
|
||||||
|
|
||||||
if (_settings_game.economy.station_noise_level) {
|
if (_settings_game.economy.station_noise_level) {
|
||||||
ResizeWindowForWidget(this, BAW_BOTTOMPANEL, 0, 10);
|
ResizeWindowForWidget(this, BAW_BOTTOMPANEL, 0, 10);
|
||||||
|
Loading…
Reference in New Issue
Block a user