mirror of
https://github.com/halpz/re3.git
synced 2025-07-29 19:10:23 +00:00
vehicle fixes
This commit is contained in:
@ -149,8 +149,8 @@ public:
|
||||
void DisplayHandlingData(CVehicle *, tHandlingData *, uint8, bool);
|
||||
int32 GetHandlingId(const char *name);
|
||||
tHandlingData *GetHandlingData(tVehicleType id) { return &HandlingData[id]; }
|
||||
bool HasRearWheelDrive(tVehicleType id) { return HandlingData[id].Transmission.nDriveType == 'R'; }
|
||||
bool HasFrontWheelDrive(tVehicleType id) { return HandlingData[id].Transmission.nDriveType == 'F'; }
|
||||
bool HasRearWheelDrive(tVehicleType id) { return HandlingData[id].Transmission.nDriveType != 'F'; }
|
||||
bool HasFrontWheelDrive(tVehicleType id) { return HandlingData[id].Transmission.nDriveType != 'R'; }
|
||||
};
|
||||
VALIDATE_SIZE(cHandlingDataMgr, 0x3030);
|
||||
extern cHandlingDataMgr mod_HandlingManager;
|
||||
|
Reference in New Issue
Block a user