src/town_map.h
changeset 7814 fe643468ad64
parent 6918 5589c415e28f
child 7866 e19fda04e8d3
equal deleted inserted replaced
7813:49fbe41f8a04 7814:fe643468ad64
    36 /**
    36 /**
    37  * Gets the town associated with the house or road tile
    37  * Gets the town associated with the house or road tile
    38  * @param t the tile to get the town of
    38  * @param t the tile to get the town of
    39  * @return the town
    39  * @return the town
    40  */
    40  */
    41 static inline Town* GetTownByTile(TileIndex t)
    41 static inline Town *GetTownByTile(TileIndex t)
    42 {
    42 {
    43 	return GetTown(GetTownIndex(t));
    43 	return GetTown(GetTownIndex(t));
    44 }
    44 }
    45 
    45 
    46 /**
    46 /**