diff options
author | aap <aap@papnet.eu> | 2021-01-02 20:30:16 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-02 20:30:16 +0100 |
commit | 57677b7b55e6204c0b78db935d696c21e880f0e6 (patch) | |
tree | 964a03852bdd8a697c881d90b72d2eecf79868e9 /src/peds/PedFight.cpp | |
parent | "clarification" of handling code (diff) | |
download | re3-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/peds/PedFight.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/PedFight.cpp b/src/peds/PedFight.cpp index 9c230213..99894131 100644 --- a/src/peds/PedFight.cpp +++ b/src/peds/PedFight.cpp @@ -3985,7 +3985,7 @@ CPed::DriveVehicle(void) } if (neededAngForWheelie >= 0.15f) { if (bike->m_fBrakePedal <= 0.5f || velocityFwdDotProd <= 0.01f) { - if (bike->m_fGasPedal > 0.5f && targetUDLean <= 0.0f && 0.3f * bike->pHandling->Transmission.fUnkMaxVelocity > velocityFwdDotProd) { + if (bike->m_fGasPedal > 0.5f && targetUDLean <= 0.0f && 0.3f * bike->pHandling->Transmission.fMaxCruiseVelocity > velocityFwdDotProd) { targetUDLean = Min(0.1f, targetUDLean); } } else { |