# HG changeset patch # User smatz # Date 2010-04-20 17:49:11 # Node ID 7a325f6b804bb3823b2558420827f420d431eb0d # Parent 9b2362339a6a9cc98c326655f1dd92190c101b6b (svn r19683) -Fix (r19654): towns with 3x3 and 2x2 road layouts couldn't expand diff --git a/src/road_type.h b/src/road_type.h --- 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 */