mirror of https://github.com/OpenTTD/OpenTTD
(svn r14953) -Fix (r14952): the "available aircraft" list caused a crash
parent
3d6c09b38d
commit
c8f3630e64
|
@ -987,7 +987,7 @@ struct BuildVehicleWindow : Window {
|
|||
|
||||
this->eng_list.Clear();
|
||||
|
||||
const Station *st = GetStation(this->window_number);
|
||||
const Station *st = this->listview_mode ? NULL : GetStationByTile(this->window_number);
|
||||
|
||||
/* Make list of all available planes.
|
||||
* Also check to see if the previously selected plane is still available,
|
||||
|
|
Loading…
Reference in New Issue