summaryrefslogtreecommitdiffstats
path: root/src/entities/PlayerPed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/PlayerPed.cpp')
-rw-r--r--src/entities/PlayerPed.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/entities/PlayerPed.cpp b/src/entities/PlayerPed.cpp
index 86312996..2d67d5b2 100644
--- a/src/entities/PlayerPed.cpp
+++ b/src/entities/PlayerPed.cpp
@@ -2,4 +2,13 @@
#include "patcher.h"
#include "PlayerPed.h"
+CPlayerPed::~CPlayerPed()
+{
+ delete m_pWanted;
+}
+
WRAPPER void CPlayerPed::ReApplyMoveAnims(void) { EAXJMP(0x4F07C0); }
+
+STARTPATCHES
+ InjectHook(0x4EFB30, &CPlayerPed::dtor, PATCH_JUMP);
+ENDPATCHES \ No newline at end of file