From dba2a57b0d797bb9cbae67200340f69f7ec665fd Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 20 Apr 2010 17:49:11 +0000 Subject: (svn r19683) -Fix (r19654): towns with 3x3 and 2x2 road layouts couldn't expand --- src/road_type.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/road_type.h b/src/road_type.h index 7a3a2f9ae..1d7a81071 100644 --- a/src/road_type.h +++ b/src/road_type.h @@ -66,9 +66,11 @@ enum RoadBits { ROAD_S = ROAD_SE | ROAD_SW, ///< Road at the two southern edges ROAD_W = ROAD_NW | ROAD_SW, ///< Road at the two western edges - ROAD_ALL = ROAD_X | ROAD_Y ///< Full 4-way crossing + ROAD_ALL = ROAD_X | ROAD_Y, ///< Full 4-way crossing + + ROAD_END = ROAD_ALL + 1 ///< Out-of-range roadbits, used for iterations }; DECLARE_ENUM_AS_BIT_SET(RoadBits) -template <> struct EnumPropsT : MakeEnumPropsT {}; +template <> struct EnumPropsT : MakeEnumPropsT {}; #endif /* ROAD_TYPE_H */ -- cgit v1.2.3-54-g00ecf