mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r14953) -Fix (r14952): the "available aircraft" list caused a crash
This commit is contained in:
parent
0543f50181
commit
de9b394557
@ -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
Block a user