diff options
author | smatz <smatz@openttd.org> | 2009-06-24 19:26:41 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-24 19:26:41 +0000 |
commit | 05c695a647a3637925d24e4062b0cd4adcd1c851 (patch) | |
tree | 220c68f6314badb79ae16a3af4e818e1ed2e52a5 /src/rail_cmd.cpp | |
parent | fd4a9a9106256a1029995f76e7bdbc8cefdbb84a (diff) | |
download | openttd-05c695a647a3637925d24e4062b0cd4adcd1c851.tar.xz |
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 2f280aac2..b52a1c9a7 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -1441,7 +1441,7 @@ static CommandCost RemoveTrainDepot(TileIndex tile, DoCommandFlag flags) } DoClearSquare(tile); - delete GetDepotByTile(tile); + delete Depot::GetByTile(tile); AddSideToSignalBuffer(tile, dir, owner); YapfNotifyTrackLayoutChange(tile, DiagDirToDiagTrack(dir)); if (v != NULL) TryPathReserve(v, true); |