@@ -992,24 +992,26 @@ void ShowDepotWindow(TileIndex tile, Veh
switch (type) {
default: NOT_REACHED();
case VEH_TRAIN:
w = AllocateWindowDescFront<DepotWindow>(&_train_depot_desc, tile); break;
case VEH_ROAD:
w = AllocateWindowDescFront<DepotWindow>(&_road_depot_desc, tile); break;
case VEH_SHIP:
w = AllocateWindowDescFront<DepotWindow>(&_ship_depot_desc, tile); break;
case VEH_AIRCRAFT:
w = AllocateWindowDescFront<DepotWindow>(&_aircraft_depot_desc, tile); break;
}
if (w == NULL) return;
w->caption_color = GetTileOwner(tile);
w->CreateDepotListWindow(type);
/** Removes the highlight of a vehicle in a depot window
* @param *v Vehicle to remove all highlights from
*/
void DeleteDepotHighlightOfVehicle(const Vehicle *v)
{
DepotWindow *w;
/* If we haven't got any vehicles on the mouse pointer, we haven't got any highlighted in any depots either
Status change: