mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-20 12:09:32 +01:00
(svn r14953) -Fix (r14952): the "available aircraft" list caused a crash
This commit is contained in:
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
Block a user