(svn r18557) -Fix: (most of) gcc errors when using lto caused by some structs having different definition in different object files
This commit is contained in:
@@ -80,10 +80,6 @@ public:
|
||||
VT_WATER, //!< Water type vehicle.
|
||||
VT_AIR, //!< Air type vehicle.
|
||||
VT_INVALID = 0xFF, //!< Invalid vehicle type.
|
||||
|
||||
#ifdef DEFINE_SCRIPT_FILES
|
||||
VEHICLE_INVALID = -1, //!< Invalid VehicleID.
|
||||
#endif /* DEFINE_SCRIPT_FILES */
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -100,6 +96,8 @@ public:
|
||||
VS_INVALID = 0xFF, //!< An invalid vehicle state.
|
||||
};
|
||||
|
||||
static const int VEHICLE_INVALID = -1; //!< Invalid VehicleID.
|
||||
|
||||
/**
|
||||
* Checks whether the given vehicle is valid and owned by you.
|
||||
* @param vehicle_id The vehicle to check.
|
||||
|
Reference in New Issue
Block a user