1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-27 08:29:11 +00:00

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

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

View File

@@ -177,7 +177,7 @@ static CommandCost RemoveShipDepot(TileIndex tile, DoCommandFlag flags)
if (flags & DC_EXEC) {
/* Kill the depot, which is registered at the northernmost tile. Use that one */
delete GetDepotByTile(tile2 < tile ? tile2 : tile);
delete Depot::GetByTile(tile2 < tile ? tile2 : tile);
MakeWaterKeepingClass(tile, GetTileOwner(tile));
MakeWaterKeepingClass(tile2, GetTileOwner(tile2));