(svn r19451) -Cleanup: remove some unused code

This commit is contained in:
yexo
2010-03-18 15:20:49 +00:00
parent 1982307a05
commit e037512a6f
3 changed files with 1 additions and 7 deletions

View File

@@ -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;
}