diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-26 18:35:40 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-26 18:35:40 +0100 |
commit | 0f623c23543166a67c7fd1881cc05995dd274bba (patch) | |
tree | f5ff0a8ada3d0211af2c3a2a04b7b680435a1a77 /src/core/Cam.cpp | |
parent | Fix doubles in ZoneCull (diff) | |
download | re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.gz re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.bz2 re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.lz re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.xz re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.zst re3-0f623c23543166a67c7fd1881cc05995dd274bba.zip |
Diffstat (limited to '')
-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) |