diff options
author | aap <aap@papnet.eu> | 2021-01-17 10:00:34 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-17 10:00:34 +0100 |
commit | 357b67e3f5ba130f00cd965aeab0eb05fc94d51d (patch) | |
tree | 1a9bfb2a68667c732c35c6b66040be5917706c7d /src/vehicles/HandlingMgr.h | |
parent | Use of sized bool types for CFont (diff) | |
download | re3-357b67e3f5ba130f00cd965aeab0eb05fc94d51d.tar re3-357b67e3f5ba130f00cd965aeab0eb05fc94d51d.tar.gz re3-357b67e3f5ba130f00cd965aeab0eb05fc94d51d.tar.bz2 re3-357b67e3f5ba130f00cd965aeab0eb05fc94d51d.tar.lz re3-357b67e3f5ba130f00cd965aeab0eb05fc94d51d.tar.xz re3-357b67e3f5ba130f00cd965aeab0eb05fc94d51d.tar.zst re3-357b67e3f5ba130f00cd965aeab0eb05fc94d51d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/HandlingMgr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/HandlingMgr.h b/src/vehicles/HandlingMgr.h index 05876201..9848bb74 100644 --- a/src/vehicles/HandlingMgr.h +++ b/src/vehicles/HandlingMgr.h @@ -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; |