File diff r15609:02b794721f9c → r15610:623a23fb6560
src/road_map.h
Show inline comments
 
@@ -146,13 +146,14 @@ static inline void SetRoadOwner(TileInde
 
static inline bool IsRoadOwner(TileIndex t, RoadType rt, Owner o)
 
{
 
	assert(HasTileRoadType(t, rt));
 
	return (GetRoadOwner(t, rt) == o);
 
}
 

	
 
/** Checks if given tile has town owned road
 
/**
 
 * Checks if given tile has town owned road
 
 * @param t tile to check
 
 * @return true iff tile has road and the road is owned by a town
 
 * @pre IsTileType(t, MP_ROAD)
 
 */
 
static inline bool HasTownOwnedRoad(TileIndex t)
 
{