forked from mirror/OpenTTD
(svn r19654) -Codechange: Use Extract<> in more places.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user