(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user