diff options
author | frosch <frosch@openttd.org> | 2010-03-23 20:29:52 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-03-23 20:29:52 +0000 |
commit | f45e579923773e05dfc5a35915eee81f6da50914 (patch) | |
tree | 5a258f61df9169ff5eda90b15bf4bf57957238f1 /src/road_func.h | |
parent | fe35a0cacf9da67e11004391d224d63e9bf45145 (diff) | |
download | openttd-f45e579923773e05dfc5a35915eee81f6da50914.tar.xz |
(svn r19506) -Fix: Tunnels, bridges and roadstops are build with only one roadtype.
Diffstat (limited to 'src/road_func.h')
-rw-r--r-- | src/road_func.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/road_func.h b/src/road_func.h index 151ae4e9f..7303ebff3 100644 --- a/src/road_func.h +++ b/src/road_func.h @@ -29,16 +29,6 @@ static inline bool IsValidRoadType(RoadType rt) } /** - * 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 * * @param rt the roadtype to get the roadtypes from |