diff options
Diffstat (limited to 'src/build_vehicle_gui.cpp')
-rw-r--r-- | src/build_vehicle_gui.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp index 74396bb4a..0f34ad575 100644 --- a/src/build_vehicle_gui.cpp +++ b/src/build_vehicle_gui.cpp @@ -768,7 +768,6 @@ struct BuildVehicleWindow : Window { VehicleType vehicle_type; union { RailTypeByte railtype; - AirportFTAClass::Flags flags; RoadTypes roadtypes; } filter; bool descending_sort_order; @@ -832,10 +831,7 @@ struct BuildVehicleWindow : Window { case VEH_ROAD: this->filter.roadtypes = (tile == INVALID_TILE) ? ROADTYPES_ALL : GetRoadTypes(tile); case VEH_SHIP: - break; case VEH_AIRCRAFT: - this->filter.flags = - tile == INVALID_TILE ? AirportFTAClass::ALL : Station::GetByTile(tile)->Airport()->flags; break; } |