diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-06-14 23:26:27 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-06-14 23:26:27 +0200 |
commit | ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f (patch) | |
tree | fbbefd0d2224a021a383e74f805c3c322473ff42 /src/peds/Ped.cpp | |
parent | much better mission switcher (diff) | |
parent | some more camera stuff (diff) | |
download | re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.tar re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.tar.gz re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.tar.bz2 re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.tar.lz re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.tar.xz re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.tar.zst re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.zip |
Diffstat (limited to 'src/peds/Ped.cpp')
-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 c4000975..2e0e4599 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -19847,7 +19847,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])) { @@ -19857,13 +19857,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) { |