summaryrefslogtreecommitdiff
path: root/src/newgrf_station.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2012-03-15 22:42:28 +0000
committeryexo <yexo@openttd.org>2012-03-15 22:42:28 +0000
commit620a96f77f44b32f3215d1ab3b33367b56ac4e88 (patch)
treec759efe9cdbf6822af84d07b50c87fddea5b25f8 /src/newgrf_station.h
parent4725f8c0a2f6913cee644e4a68d782ccbad4aaf1 (diff)
downloadopenttd-620a96f77f44b32f3215d1ab3b33367b56ac4e88.tar.xz
(svn r24031) -Feature: increase the station class limit from 32 to 256
Diffstat (limited to 'src/newgrf_station.h')
-rw-r--r--src/newgrf_station.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_station.h b/src/newgrf_station.h
index b05706c53..9f31431d2 100644
--- a/src/newgrf_station.h
+++ b/src/newgrf_station.h
@@ -24,7 +24,7 @@ enum StationClassID {
STAT_CLASS_BEGIN = 0, ///< the lowest valid value
STAT_CLASS_DFLT = 0, ///< Default station class.
STAT_CLASS_WAYP, ///< Waypoint class.
- STAT_CLASS_MAX = 32, ///< Maximum number of classes.
+ STAT_CLASS_MAX = 256, ///< Maximum number of classes.
};
typedef SimpleTinyEnumT<StationClassID, byte> StationClassIDByte;
template <> struct EnumPropsT<StationClassID> : MakeEnumPropsT<StationClassID, byte, STAT_CLASS_BEGIN, STAT_CLASS_MAX, STAT_CLASS_MAX, 8> {};