diff options
author | rubidium <rubidium@openttd.org> | 2010-08-19 20:58:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-19 20:58:30 +0000 |
commit | 1fa98e169529b070c19a6bc0cff311ebc993b468 (patch) | |
tree | 6cd7011fc2faece6a110096a49f95ad5290c6e66 /src/vehicle_type.h | |
parent | cc658392ebef76ca21efc7c3ab1aaaa93c50448e (diff) | |
download | openttd-1fa98e169529b070c19a6bc0cff311ebc993b468.tar.xz |
(svn r20574) -Codechange: a little over 1 million vehicles should be enough for the forseeable future
Diffstat (limited to 'src/vehicle_type.h')
-rw-r--r-- | src/vehicle_type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicle_type.h b/src/vehicle_type.h index 7e28df10a..dc283de16 100644 --- a/src/vehicle_type.h +++ b/src/vehicle_type.h @@ -14,7 +14,7 @@ #include "core/enum_type.hpp" -typedef uint16 VehicleID; +typedef uint32 VehicleID; /** Available vehicle types. */ enum VehicleType { @@ -45,7 +45,7 @@ struct BaseVehicle VehicleTypeByte type; ///< Type of vehicle }; -static const VehicleID INVALID_VEHICLE = 0xFFFF; ///< Constant representing a non-existing vehicle. +static const VehicleID INVALID_VEHICLE = 0xFFFFF; ///< Constant representing a non-existing vehicle. /** Pathfinding option states */ enum VehiclePathFinders { |