summaryrefslogtreecommitdiff
path: root/src/water_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-24 19:26:41 +0000
committersmatz <smatz@openttd.org>2009-06-24 19:26:41 +0000
commit05c695a647a3637925d24e4062b0cd4adcd1c851 (patch)
tree220c68f6314badb79ae16a3af4e818e1ed2e52a5 /src/water_cmd.cpp
parentfd4a9a9106256a1029995f76e7bdbc8cefdbb84a (diff)
downloadopenttd-05c695a647a3637925d24e4062b0cd4adcd1c851.tar.xz
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
Diffstat (limited to 'src/water_cmd.cpp')
-rw-r--r--src/water_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index 44e5b710c..9e8c19f97 100644
--- a/src/water_cmd.cpp
+++ b/src/water_cmd.cpp
@@ -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));