(svn r14953) -Fix (r14952): the "available aircraft" list caused a crash

This commit is contained in:
rubidium 2009-01-10 10:41:22 +00:00
parent 0543f50181
commit de9b394557

View File

@ -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,