diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp index be04b00b8e..5924a4cc07 100644 --- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -86,7 +86,7 @@ struct BuildAirToolbarWindow : Window { { switch (widget) { case WID_AT_AIRPORT: - if (HandlePlacePushButton(this, WID_AT_AIRPORT, SPR_CURSOR_AIRPORT, HT_RECT | HT_SCROLL_VIEWPORT)) { + if (HandlePlacePushButton(this, WID_AT_AIRPORT, SPR_CURSOR_AIRPORT, HT_RECT)) { ShowBuildAirportPicker(this); this->last_user_action = widget; } @@ -106,6 +106,7 @@ struct BuildAirToolbarWindow : Window { switch (this->last_user_action) { case WID_AT_AIRPORT: { VpStartPlaceSizing(tile, VPM_SINGLE_TILE, DDSP_BUILD_STATION); + MoveAllWindowsOffScreen(); break; } @@ -128,6 +129,7 @@ struct BuildAirToolbarWindow : Window { switch (select_proc) { case DDSP_BUILD_STATION: assert(start_tile == end_tile); + MoveAllHiddenWindowsBackToScreen(); PlaceAirport(end_tile); break; case DDSP_DEMOLISH_AREA: