mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r22538) -Fix [FS#4619]: possible crash when opening the airport build window for the first time
This commit is contained in:
parent
58e3652bd0
commit
015231a478
|
@ -587,4 +587,5 @@ static void ShowBuildAirportPicker(Window *parent)
|
||||||
void InitializeAirportGui()
|
void InitializeAirportGui()
|
||||||
{
|
{
|
||||||
_selected_airport_class = APC_BEGIN;
|
_selected_airport_class = APC_BEGIN;
|
||||||
|
_selected_airport_index = -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue