summaryrefslogtreecommitdiff
path: root/src/road_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/road_func.h')
-rw-r--r--src/road_func.h10
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