summaryrefslogtreecommitdiff
path: root/src/vehicles/HandlingMgr.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-17 10:00:41 +0100
committeraap <aap@papnet.eu>2021-01-17 10:00:41 +0100
commit913a001375771a0e837e25d148d173abafdf3290 (patch)
tree6ae9300d5363cd9654531ebd57b351587b975dbe /src/vehicles/HandlingMgr.h
parent72b25cd3a8e2179eae3b7c42ce57ae25919ff756 (diff)
vehicle fixes
Diffstat (limited to 'src/vehicles/HandlingMgr.h')
-rw-r--r--src/vehicles/HandlingMgr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/HandlingMgr.h b/src/vehicles/HandlingMgr.h
index 446395f2..8d290f7d 100644
--- a/src/vehicles/HandlingMgr.h
+++ b/src/vehicles/HandlingMgr.h
@@ -273,7 +273,7 @@ public:
tBikeHandlingData *GetBikePointer(uint8 id) { return &BikeHandlingData[id-HANDLING_BIKE]; }
tFlyingHandlingData *GetFlyingPointer(uint8 id);
tBoatHandlingData *GetBoatPointer(uint8 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'; }
};
extern cHandlingDataMgr mod_HandlingManager;