(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
This commit is contained in:
@@ -19,9 +19,9 @@ struct Depot : DepotPool::PoolItem<&_depot_pool> {
|
||||
|
||||
Depot(TileIndex xy = INVALID_TILE) : xy(xy) {}
|
||||
~Depot();
|
||||
};
|
||||
|
||||
Depot *GetDepotByTile(TileIndex tile);
|
||||
static Depot *GetByTile(TileIndex tile);
|
||||
};
|
||||
|
||||
#define FOR_ALL_DEPOTS_FROM(var, start) FOR_ALL_ITEMS_FROM(Depot, depot_index, var, start)
|
||||
#define FOR_ALL_DEPOTS(var) FOR_ALL_DEPOTS_FROM(var, 0)
|
||||
|
Reference in New Issue
Block a user