From e2bd3573b4d44b8f80197d8de98fcfc91e2229b8 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sun, 30 Jun 2019 13:59:55 +0300 Subject: PlayBackThisFrameInterpolation and all it required... --- src/entities/PlayerPed.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/entities/PlayerPed.cpp') 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 -- cgit v1.2.3