(svn r20568) -Codechange: change the value of AIVehicle::VEHICLE_INVALID and use it as return value instead of ::INVALID_VEHICLE

This commit is contained in:
yexo
2010-08-19 20:20:20 +00:00
parent 588d3c4ff8
commit ca0cd109f2
2 changed files with 6 additions and 6 deletions

View File

@@ -97,7 +97,7 @@ public:
VS_INVALID = 0xFF, ///< An invalid vehicle state.
};
static const int VEHICLE_INVALID = -1; ///< Invalid VehicleID.
static const VehicleID VEHICLE_INVALID = 0xFFFF; ///< Invalid VehicleID.
/**
* Checks whether the given vehicle is valid and owned by you.