diff options
author | aap <aap@papnet.eu> | 2020-06-09 15:50:00 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-06-14 09:36:30 +0200 |
commit | c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f (patch) | |
tree | 0c8b9b663e8a547c26083dfa5748565dfdc4e084 /src/peds/Ped.cpp | |
parent | script fix (diff) | |
download | re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.gz re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.bz2 re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.lz re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.xz re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.zst re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 12b4ef8d..e484cd50 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -19297,7 +19297,7 @@ CPed::DriveVehicle(void) } else if (targetUDLean > -1.0f) { targetUDLean = bike->m_fLeanInput; - bike->m_bike_flag80 = false; + bike->bWheelieCam = false; neededAngForWheelie = 1.0f; if (bike->m_aWheelTimer[0] != 0.0f || bike->m_aWheelTimer[1] != 0.0f || bike->GetForward().z <= 0.0f || (0.0f == bike->m_aWheelTimer[2] && 0.0f == bike->m_aWheelTimer[3])) { @@ -19307,13 +19307,13 @@ CPed::DriveVehicle(void) stoppieAng = bike->pBikeHandling->fStoppieAng; if (stoppieAng - bike->GetForward().z > 0.6f * stoppieAng) - bike->m_bike_flag80 = true; + bike->bWheelieCam = true; } } else { float wheelieAng = bike->pBikeHandling->fWheelieAng; neededAngForWheelie = wheelieAng - bike->GetForward().z; if (neededAngForWheelie < wheelieAng / 2.f) - bike->m_bike_flag80 = true; + bike->bWheelieCam = true; } if (neededAngForWheelie >= 0.15f) { if (bike->m_fBrakePedal <= 0.5f || velocityFwdDotProd <= 0.01f) { |