(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:
		| @@ -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. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 yexo
					yexo