(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()

This commit is contained in:
smatz
2009-06-24 19:26:41 +00:00
parent 6a43a2e8f2
commit a9602401f0
13 changed files with 21 additions and 21 deletions

View File

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