diff --git a/src/town_type.h b/src/town_type.h --- a/src/town_type.h +++ b/src/town_type.h @@ -26,6 +26,7 @@ enum TownSize { TSZ_END, ///< Number of available town sizes. }; +template <> struct EnumPropsT : MakeEnumPropsT {}; enum { /* These refer to the maximums, so Appalling is -1000 to -400 @@ -89,6 +90,7 @@ enum TownLayout { NUM_TLS, ///< Number of town layouts }; +template <> struct EnumPropsT : MakeEnumPropsT {}; /** It needs to be 8bits, because we save and load it as such */ typedef SimpleTinyEnumT TownLayoutByte; // typedefing-enumification of TownLayout