File diff r1976:fcef181ed14a → r1977:1f8b99c96041
depot.c
Show inline comments
 
@@ -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;
 
	Depot *depot;
 

	
 
	/* Get the depot */
 
	depot = GetDepotByTile(tile);