diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-03 13:12:24 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-03 13:12:24 +0100 |
commit | f5415200404546400933582bd7d827f46fd5ae23 (patch) | |
tree | d6580693c2d3a5a25819c80d274098d256b388d4 /src/core/Cam.cpp | |
parent | OAL Loops, fixes (diff) | |
parent | Merge pull request #1020 from erorcun/master (diff) | |
download | re3-f5415200404546400933582bd7d827f46fd5ae23.tar re3-f5415200404546400933582bd7d827f46fd5ae23.tar.gz re3-f5415200404546400933582bd7d827f46fd5ae23.tar.bz2 re3-f5415200404546400933582bd7d827f46fd5ae23.tar.lz re3-f5415200404546400933582bd7d827f46fd5ae23.tar.xz re3-f5415200404546400933582bd7d827f46fd5ae23.tar.zst re3-f5415200404546400933582bd7d827f46fd5ae23.zip |
Diffstat (limited to 'src/core/Cam.cpp')
-rw-r--r-- | src/core/Cam.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp index f43ff57a..2a32ed1f 100644 --- a/src/core/Cam.cpp +++ b/src/core/Cam.cpp @@ -1644,10 +1644,10 @@ CCam::Process_FollowPedWithMouse(const CVector &CameraTarget, float TargetOrient if(CamTargetEntity->m_rwObject){ // what's going on here? - if(RpAnimBlendClumpGetAssociation(CamTargetEntity->GetClump(), ANIM_WEAPON_PUMP) || - RpAnimBlendClumpGetAssociation(CamTargetEntity->GetClump(), ANIM_WEAPON_THROW) || - RpAnimBlendClumpGetAssociation(CamTargetEntity->GetClump(), ANIM_WEAPON_THROWU) || - RpAnimBlendClumpGetAssociation(CamTargetEntity->GetClump(), ANIM_WEAPON_START_THROW)){ + if(RpAnimBlendClumpGetAssociation(CamTargetEntity->GetClump(), ANIM_STD_WEAPON_PUMP) || + RpAnimBlendClumpGetAssociation(CamTargetEntity->GetClump(), ANIM_STD_WEAPON_THROW) || + RpAnimBlendClumpGetAssociation(CamTargetEntity->GetClump(), ANIM_STD_THROW_UNDER) || + RpAnimBlendClumpGetAssociation(CamTargetEntity->GetClump(), ANIM_STD_START_THROW)){ CPed *player = FindPlayerPed(); float PlayerDist = (Source - player->GetPosition()).Magnitude(); if(PlayerDist < 2.75f) |