summaryrefslogtreecommitdiffstats
path: root/src/peds/PlayerPed.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-03-02 01:09:51 +0100
committerGitHub <noreply@github.com>2020-03-02 01:09:51 +0100
commitde68d726a3dc005d9dd395a42d393bc1f43104d4 (patch)
treeee6cb8fbeec9622d4dd7dab02022592540de30ff /src/peds/PlayerPed.cpp
parentMerge pull request #336 from Nick007J/master (diff)
parentFixes and cleanup (diff)
downloadre3-de68d726a3dc005d9dd395a42d393bc1f43104d4.tar
re3-de68d726a3dc005d9dd395a42d393bc1f43104d4.tar.gz
re3-de68d726a3dc005d9dd395a42d393bc1f43104d4.tar.bz2
re3-de68d726a3dc005d9dd395a42d393bc1f43104d4.tar.lz
re3-de68d726a3dc005d9dd395a42d393bc1f43104d4.tar.xz
re3-de68d726a3dc005d9dd395a42d393bc1f43104d4.tar.zst
re3-de68d726a3dc005d9dd395a42d393bc1f43104d4.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;