(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
This commit is contained in:
@@ -882,7 +882,7 @@ static CommandCost RemoveRoadDepot(TileIndex tile, DoCommandFlag flags)
|
||||
|
||||
if (flags & DC_EXEC) {
|
||||
DoClearSquare(tile);
|
||||
delete GetDepotByTile(tile);
|
||||
delete Depot::GetByTile(tile);
|
||||
}
|
||||
|
||||
return CommandCost(EXPENSES_CONSTRUCTION, _price.remove_road_depot);
|
||||
|
Reference in New Issue
Block a user