(svn r19506) -Fix: Tunnels, bridges and roadstops are build with only one roadtype.

This commit is contained in:
frosch
2010-03-23 20:29:52 +00:00
parent fe35a0cacf
commit f45e579923
3 changed files with 3 additions and 13 deletions

View File

@@ -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
*