summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-14 09:36:58 +0200
committerGitHub <noreply@github.com>2020-06-14 09:36:58 +0200
commit75fcedb03012ac37ad81d92991662ea45e169e0c (patch)
tree0c8b9b663e8a547c26083dfa5748565dfdc4e084 /src/peds
parentscript fix (diff)
parentsome camera code (diff)
downloadre3-75fcedb03012ac37ad81d92991662ea45e169e0c.tar
re3-75fcedb03012ac37ad81d92991662ea45e169e0c.tar.gz
re3-75fcedb03012ac37ad81d92991662ea45e169e0c.tar.bz2
re3-75fcedb03012ac37ad81d92991662ea45e169e0c.tar.lz
re3-75fcedb03012ac37ad81d92991662ea45e169e0c.tar.xz
re3-75fcedb03012ac37ad81d92991662ea45e169e0c.tar.zst
re3-75fcedb03012ac37ad81d92991662ea45e169e0c.zip
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/Ped.cpp6
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) {