summaryrefslogtreecommitdiffstats
path: root/src/vehicles/HandlingMgr.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-02 20:30:12 +0100
committeraap <aap@papnet.eu>2021-01-02 20:30:12 +0100
commit0d05be4e31a40d7ed84f5f0d59b7aee7cd40dfaf (patch)
tree2c8584344263fd2f06b6cad574004f601e3adb2f /src/vehicles/HandlingMgr.cpp
parent"clarification" of handling code (diff)
downloadre3-0d05be4e31a40d7ed84f5f0d59b7aee7cd40dfaf.tar
re3-0d05be4e31a40d7ed84f5f0d59b7aee7cd40dfaf.tar.gz
re3-0d05be4e31a40d7ed84f5f0d59b7aee7cd40dfaf.tar.bz2
re3-0d05be4e31a40d7ed84f5f0d59b7aee7cd40dfaf.tar.lz
re3-0d05be4e31a40d7ed84f5f0d59b7aee7cd40dfaf.tar.xz
re3-0d05be4e31a40d7ed84f5f0d59b7aee7cd40dfaf.tar.zst
re3-0d05be4e31a40d7ed84f5f0d59b7aee7cd40dfaf.zip
Diffstat (limited to 'src/vehicles/HandlingMgr.cpp')
-rw-r--r--src/vehicles/HandlingMgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/HandlingMgr.cpp b/src/vehicles/HandlingMgr.cpp
index 7b60acf2..fde280e8 100644
--- a/src/vehicles/HandlingMgr.cpp
+++ b/src/vehicles/HandlingMgr.cpp
@@ -220,9 +220,9 @@ cHandlingDataMgr::ConvertDataToGameUnits(tHandlingData *handling)
}
if(handling->nIdentifier == HANDLING_RCBANDIT){
- handling->Transmission.fUnkMaxVelocity = handling->Transmission.fMaxVelocity;
+ handling->Transmission.fMaxCruiseVelocity = handling->Transmission.fMaxVelocity;
}else{
- handling->Transmission.fUnkMaxVelocity = velocity;
+ handling->Transmission.fMaxCruiseVelocity = velocity;
handling->Transmission.fMaxVelocity = velocity * 1.2f;
}
handling->Transmission.fMaxReverseVelocity = -0.2f;