summaryrefslogtreecommitdiff
path: root/src/vehicle_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-19 20:58:30 +0000
committerrubidium <rubidium@openttd.org>2010-08-19 20:58:30 +0000
commit1fa98e169529b070c19a6bc0cff311ebc993b468 (patch)
tree6cd7011fc2faece6a110096a49f95ad5290c6e66 /src/vehicle_type.h
parentcc658392ebef76ca21efc7c3ab1aaaa93c50448e (diff)
downloadopenttd-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.h4
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 {