diff options
author | frosch <frosch@openttd.org> | 2010-04-17 13:31:41 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-04-17 13:31:41 +0000 |
commit | 75d4bc947ddbb92ecf660d9a9858c854d5e34a15 (patch) | |
tree | b218a672a78b894388373d2e700e6ad6ebe75b63 /src/vehicle_type.h | |
parent | 184fa43df2e14c73162e641bc9bc83e403f069ed (diff) | |
download | openttd-75d4bc947ddbb92ecf660d9a9858c854d5e34a15.tar.xz |
(svn r19654) -Codechange: Use Extract<> in more places.
Diffstat (limited to 'src/vehicle_type.h')
-rw-r--r-- | src/vehicle_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle_type.h b/src/vehicle_type.h index 900d54f99..9ebe5ed69 100644 --- a/src/vehicle_type.h +++ b/src/vehicle_type.h @@ -28,6 +28,7 @@ enum VehicleType { VEH_INVALID = 0xFF, ///< Non-existing type of vehicle. }; DECLARE_POSTFIX_INCREMENT(VehicleType) +template <> struct EnumPropsT<VehicleType> : MakeEnumPropsT<VehicleType, byte, VEH_TRAIN, VEH_END, VEH_INVALID, 3> {}; /** It needs to be 8bits, because we save and load it as such */ typedef SimpleTinyEnumT<VehicleType, byte> VehicleTypeByte; |