From 82fc340a0a608eb1edf8c079b4585cf0880733df Mon Sep 17 00:00:00 2001 From: alberth Date: Fri, 9 Jul 2010 12:14:02 +0000 Subject: (svn r20097) -Codechange: Share constant bitset of safe level crossing slopes. --- src/road_cmd.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/road_cmd.cpp') diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index 515237f38..41ef5b0d6 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -52,11 +52,6 @@ bool RoadVehiclesAreBuilt() return false; } -#define M(x) (1 << (x)) -/* Level crossings may only be built on these slopes */ -static const uint32 VALID_LEVEL_CROSSING_SLOPES = (M(SLOPE_SEN) | M(SLOPE_ENW) | M(SLOPE_NWS) | M(SLOPE_NS) | M(SLOPE_WSE) | M(SLOPE_EW) | M(SLOPE_FLAT)); -#undef M - /* Invalid RoadBits on slopes */ static const RoadBits _invalid_tileh_slopes_road[2][15] = { /* The inverse of the mixable RoadBits on a leveled slope */ -- cgit v1.2.3-54-g00ecf