summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-10-27 04:17:30 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2019-10-27 04:17:30 +0100
commit537aaca5c200cb61928674303f7a24e3af29ad54 (patch)
tree6107f1e30d2392fb11df36d4902605810b4a6998 /src/vehicles
parentCGame::FinalShutdown (diff)
downloadre3-537aaca5c200cb61928674303f7a24e3af29ad54.tar
re3-537aaca5c200cb61928674303f7a24e3af29ad54.tar.gz
re3-537aaca5c200cb61928674303f7a24e3af29ad54.tar.bz2
re3-537aaca5c200cb61928674303f7a24e3af29ad54.tar.lz
re3-537aaca5c200cb61928674303f7a24e3af29ad54.tar.xz
re3-537aaca5c200cb61928674303f7a24e3af29ad54.tar.zst
re3-537aaca5c200cb61928674303f7a24e3af29ad54.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Automobile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index 12c9c940..0fa8547e 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -2934,7 +2934,7 @@ CAutomobile::DoDriveByShootings(void)
bool lookingLeft = false;
bool lookingRight = false;
- if(TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN1){
+ if(TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN){
if(CPad::GetPad(0)->GetLookLeft())
lookingLeft = true;
if(CPad::GetPad(0)->GetLookRight())
@@ -2956,7 +2956,7 @@ CAutomobile::DoDriveByShootings(void)
CAnimManager::AddAnimation(pDriver->GetClump(), ASSOCGRP_STD, ANIM_DRIVEBY_L);
else
anim->SetRun();
- }else if(pDriver->m_pMyVehicle->pPassengers[0] == nil || TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_FIRSTPERSON){
+ }else if(pDriver->m_pMyVehicle->pPassengers[0] == nil || TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_1STPERSON){
anim = RpAnimBlendClumpGetAssociation(pDriver->GetClump(), ANIM_DRIVEBY_L);
if(anim)
anim->blendDelta = -1000.0f;