(svn r19506) -Fix: Tunnels, bridges and roadstops are build with only one roadtype.
This commit is contained in:
@@ -28,16 +28,6 @@ static inline bool IsValidRoadType(RoadType rt)
|
||||
return rt == ROADTYPE_ROAD || rt == ROADTYPE_TRAM;
|
||||
}
|
||||
|
||||
/**
|
||||
* Are the given bits pointing to valid roadtypes?
|
||||
* @param rts the roadtypes to check for validness
|
||||
* @return true if and only if valid
|
||||
*/
|
||||
static inline bool AreValidRoadTypes(RoadTypes rts)
|
||||
{
|
||||
return HasBit(rts, ROADTYPE_ROAD) || HasBit(rts, ROADTYPE_TRAM);
|
||||
}
|
||||
|
||||
/**
|
||||
* Maps a RoadType to the corresponding RoadTypes value
|
||||
*
|
||||
|
Reference in New Issue
Block a user