summaryrefslogtreecommitdiffstats
path: root/src/peds/PlayerPed.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-02 20:54:47 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-02 20:54:47 +0100
commit0a3211d0cf5c3ed1873089482a54954a79f0de19 (patch)
tree7f09b889e83e832b4bf8c6092e08a16f28fbf0f7 /src/peds/PlayerPed.cpp
parentscript utils (diff)
parentMerge pull request #340 from erorcun/erorcun (diff)
downloadre3-0a3211d0cf5c3ed1873089482a54954a79f0de19.tar
re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.tar.gz
re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.tar.bz2
re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.tar.lz
re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.tar.xz
re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.tar.zst
re3-0a3211d0cf5c3ed1873089482a54954a79f0de19.zip
Diffstat (limited to 'src/peds/PlayerPed.cpp')
-rw-r--r--src/peds/PlayerPed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp
index b459ed84..4aeae797 100644
--- a/src/peds/PlayerPed.cpp
+++ b/src/peds/PlayerPed.cpp
@@ -1016,7 +1016,7 @@ CPlayerPed::ProcessPlayerWeapon(CPad *padUsed)
}
}
} else {
- m_pedIK.m_flags &= ~CPedIK::LOOKING;
+ m_pedIK.m_flags &= ~CPedIK::LOOKAROUND_HEAD_ONLY;
if (m_nPedState == PED_ATTACK) {
m_bHaveTargetSelected = true;
bIsAttacking = false;