summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-11 12:48:49 +0200
committeraap <aap@papnet.eu>2019-07-11 12:48:49 +0200
commit0548476ba6b9e2273ceec94ca9f62e76c69d7ef4 (patch)
treed75567838f62e4b4ef0c96d7cfacce79bf660c20 /src/peds
parentMerge pull request #130 from Fire-Head/master (diff)
downloadre3-0548476ba6b9e2273ceec94ca9f62e76c69d7ef4.tar
re3-0548476ba6b9e2273ceec94ca9f62e76c69d7ef4.tar.gz
re3-0548476ba6b9e2273ceec94ca9f62e76c69d7ef4.tar.bz2
re3-0548476ba6b9e2273ceec94ca9f62e76c69d7ef4.tar.lz
re3-0548476ba6b9e2273ceec94ca9f62e76c69d7ef4.tar.xz
re3-0548476ba6b9e2273ceec94ca9f62e76c69d7ef4.tar.zst
re3-0548476ba6b9e2273ceec94ca9f62e76c69d7ef4.zip
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/PlayerPed.cpp2
-rw-r--r--src/peds/PlayerPed.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp
index 4b484a7f..3bab2d31 100644
--- a/src/peds/PlayerPed.cpp
+++ b/src/peds/PlayerPed.cpp
@@ -13,6 +13,8 @@ WRAPPER void CPlayerPed::ReApplyMoveAnims(void) { EAXJMP(0x4F07C0); }
WRAPPER void CPlayerPed::SetupPlayerPed(int32) { EAXJMP(0x4EFB60); }
WRAPPER void CPlayerPed::DeactivatePlayerPed(int32) { EAXJMP(0x4EFC00); }
WRAPPER void CPlayerPed::ReactivatePlayerPed(int32) { EAXJMP(0x4EFC20); }
+WRAPPER void CPlayerPed::KeepAreaAroundPlayerClear(void) { EAXJMP(0x4F3460); }
+
void CPlayerPed::ClearWeaponTarget()
{
diff --git a/src/peds/PlayerPed.h b/src/peds/PlayerPed.h
index 51a45203..1dfa33fa 100644
--- a/src/peds/PlayerPed.h
+++ b/src/peds/PlayerPed.h
@@ -45,6 +45,7 @@ public:
void ClearWeaponTarget();
void SetWantedLevel(int32 level);
void SetWantedLevelNoDrop(int32 level);
+ void KeepAreaAroundPlayerClear(void);
static void SetupPlayerPed(int32);
static void DeactivatePlayerPed(int32);