(svn r20574) -Codechange: a little over 1 million vehicles should be enough for the forseeable future

This commit is contained in:
rubidium
2010-08-19 20:58:30 +00:00
parent cc658392eb
commit 1fa98e1695
6 changed files with 15 additions and 7 deletions

View File

@@ -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 {