@@ -30,13 +30,13 @@ MemoryPool _depot_pool = { "Depots", DEP
/**
* Gets a depot from a tile
*
* @return Returns the depot if the tile had a depot, else it returns NULL
*/
Depot *GetDepotByTile(uint tile)
Depot *GetDepotByTile(TileIndex tile)
{
Depot *depot;
FOR_ALL_DEPOTS(depot) {
if (depot->xy == tile)
return depot;
@@ -70,13 +70,13 @@ Depot *AllocateDepot(void)
return NULL;
}
* Delete a depot
void DoDeleteDepot(uint tile)
void DoDeleteDepot(TileIndex tile)
Order order;
/* Get the depot */
depot = GetDepotByTile(tile);