(svn r6513) -Codechange: unified the code to draw depot windows
This change is intended to make it easier to make depot behaviour consistent and faster to code when adding more features in the future The user interface should hopefully not be affected by this
This commit is contained in:
@@ -977,11 +977,9 @@ static void TileLoop_Road(TileIndex tile)
|
||||
}
|
||||
}
|
||||
|
||||
void ShowRoadDepotWindow(TileIndex tile);
|
||||
|
||||
static void ClickTile_Road(TileIndex tile)
|
||||
{
|
||||
if (GetRoadTileType(tile) == ROAD_TILE_DEPOT) ShowRoadDepotWindow(tile);
|
||||
if (GetRoadTileType(tile) == ROAD_TILE_DEPOT) ShowDepotWindow(tile, VEH_Road);
|
||||
}
|
||||
|
||||
static const byte _road_trackbits[16] = {
|
||||
|
||||
Reference in New Issue
Block a user