diff options
Diffstat (limited to 'src/build_vehicle_gui.cpp')
-rw-r--r-- | src/build_vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp index 27a1e039f..70bface53 100644 --- a/src/build_vehicle_gui.cpp +++ b/src/build_vehicle_gui.cpp @@ -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, |