diff options
author | Fire_Head <Fire-Head@users.noreply.github.com> | 2019-10-27 04:36:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-27 04:36:58 +0100 |
commit | 6a46cc6c3b2aa7ee0a05260b671b29adb01167c7 (patch) | |
tree | d7a4b2ec22bcb6a9f6d8ef2602c7fdbac417d18b /src/vehicles | |
parent | SfxEnum (diff) | |
parent | ControllerConfig done (diff) | |
download | re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.tar re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.tar.gz re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.tar.bz2 re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.tar.lz re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.tar.xz re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.tar.zst re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.zip |
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Automobile.cpp | 4 |
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; |