(svn r20574) -Codechange: a little over 1 million vehicles should be enough for the forseeable future
This commit is contained in:
@@ -97,7 +97,7 @@ typedef uint16 StringID; ///< The ID of a string.
|
||||
typedef uint16 SubsidyID; ///< The ID of a subsidy.
|
||||
typedef uint32 TileIndex; ///< The ID of a tile (just named differently).
|
||||
typedef uint16 TownID; ///< The ID of a town.
|
||||
typedef uint16 VehicleID; ///< The ID of a vehicle.
|
||||
typedef uint32 VehicleID; ///< The ID of a vehicle.
|
||||
|
||||
/* Types we defined ourself, as the OpenTTD core doesn't have them (yet) */
|
||||
typedef uint AIErrorType; ///< The types of errors inside the NoAI framework.
|
||||
|
@@ -97,7 +97,7 @@ public:
|
||||
VS_INVALID = 0xFF, ///< An invalid vehicle state.
|
||||
};
|
||||
|
||||
static const VehicleID VEHICLE_INVALID = 0xFFFF; ///< Invalid VehicleID.
|
||||
static const VehicleID VEHICLE_INVALID = 0xFFFFF; ///< Invalid VehicleID.
|
||||
|
||||
/**
|
||||
* Checks whether the given vehicle is valid and owned by you.
|
||||
|
Reference in New Issue
Block a user