summaryrefslogtreecommitdiffstats
path: root/src/vehicles/HandlingMgr.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-02 20:30:16 +0100
committeraap <aap@papnet.eu>2021-01-02 20:30:16 +0100
commit57677b7b55e6204c0b78db935d696c21e880f0e6 (patch)
tree964a03852bdd8a697c881d90b72d2eecf79868e9 /src/vehicles/HandlingMgr.cpp
parent"clarification" of handling code (diff)
downloadre3-57677b7b55e6204c0b78db935d696c21e880f0e6.tar
re3-57677b7b55e6204c0b78db935d696c21e880f0e6.tar.gz
re3-57677b7b55e6204c0b78db935d696c21e880f0e6.tar.bz2
re3-57677b7b55e6204c0b78db935d696c21e880f0e6.tar.lz
re3-57677b7b55e6204c0b78db935d696c21e880f0e6.tar.xz
re3-57677b7b55e6204c0b78db935d696c21e880f0e6.tar.zst
re3-57677b7b55e6204c0b78db935d696c21e880f0e6.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/HandlingMgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicles/HandlingMgr.cpp b/src/vehicles/HandlingMgr.cpp
index b03c1213..611ddcc9 100644
--- a/src/vehicles/HandlingMgr.cpp
+++ b/src/vehicles/HandlingMgr.cpp
@@ -380,14 +380,14 @@ cHandlingDataMgr::ConvertDataToGameUnits(tHandlingData *handling)
}
if(handling->nIdentifier == HANDLING_RCBANDIT){
- handling->Transmission.fUnkMaxVelocity = handling->Transmission.fMaxVelocity;
+ handling->Transmission.fMaxCruiseVelocity = handling->Transmission.fMaxVelocity;
handling->Transmission.fMaxReverseVelocity = -handling->Transmission.fMaxVelocity;
}else if(handling->nIdentifier >= HANDLING_BIKE && handling->nIdentifier <= HANDLING_FREEWAY){
- handling->Transmission.fUnkMaxVelocity = velocity;
+ handling->Transmission.fMaxCruiseVelocity = velocity;
handling->Transmission.fMaxVelocity = velocity * 1.2f;
handling->Transmission.fMaxReverseVelocity = -0.05f;
}else{
- handling->Transmission.fUnkMaxVelocity = velocity;
+ handling->Transmission.fMaxCruiseVelocity = velocity;
handling->Transmission.fMaxVelocity = velocity * 1.2f;
handling->Transmission.fMaxReverseVelocity = -0.2f;
}