From 75d4bc947ddbb92ecf660d9a9858c854d5e34a15 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 17 Apr 2010 13:31:41 +0000 Subject: (svn r19654) -Codechange: Use Extract<> in more places. --- src/town_type.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/town_type.h') diff --git a/src/town_type.h b/src/town_type.h index 320653011..93dcc1a3a 100644 --- 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 -- cgit v1.2.3-54-g00ecf