File diff r12233:9d0861714103 → r12234:fd1a494e7620
src/landscape.cpp
Show inline comments
 
@@ -491,30 +491,24 @@ TrackStatus GetTileTrackStatus(TileIndex
 

	
 
/**
 
 * Change the owner of a tile
 
 * @param tile      Tile to change
 
 * @param old_owner Current owner of the tile
 
 * @param new_owner New owner of the tile
 
 */
 
void ChangeTileOwner(TileIndex tile, Owner old_owner, Owner new_owner)
 
{
 
	_tile_type_procs[GetTileType(tile)]->change_tile_owner_proc(tile, old_owner, new_owner);
 
}
 

	
 
void GetAcceptedCargo(TileIndex tile, AcceptedCargo ac)
 
{
 
	memset(ac, 0, sizeof(AcceptedCargo));
 
	_tile_type_procs[GetTileType(tile)]->get_accepted_cargo_proc(tile, ac);
 
}
 

	
 
void AnimateTile(TileIndex tile)
 
{
 
	_tile_type_procs[GetTileType(tile)]->animate_tile_proc(tile);
 
}
 

	
 
bool ClickTile(TileIndex tile)
 
{
 
	return _tile_type_procs[GetTileType(tile)]->click_tile_proc(tile);
 
}
 

	
 
void GetTileDesc(TileIndex tile, TileDesc *td)
 
{