(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

@@ -17,10 +17,10 @@ INSTANTIATE_POOL_METHODS(Depot)
/**
* Gets a depot from a tile
*
* @param tile tile with depot
* @return Returns the depot if the tile had a depot, else it returns NULL
*/
Depot *GetDepotByTile(TileIndex tile)
/* static */ Depot *Depot::GetByTile(TileIndex tile)
{
/* A ship depot is multiple tiles. The north most tile is
* always the ->xy tile, so make sure we always look for