forked from mirror/OpenTTD
(svn r14953) -Fix (r14952): the "available aircraft" list caused a crash
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user