summaryrefslogtreecommitdiffstats
path: root/src/entities/Ped.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-03 13:43:40 +0200
committerGitHub <noreply@github.com>2019-07-03 13:43:40 +0200
commit738bde1c1573f604b9550d9a008b3278d6c082fb (patch)
tree42b165bdad2b6bcc7478efc94786c6400330e520 /src/entities/Ped.cpp
parentfixed car colour texture bug (diff)
parentFix address of IsPedHeadAbovePos (diff)
downloadre3-738bde1c1573f604b9550d9a008b3278d6c082fb.tar
re3-738bde1c1573f604b9550d9a008b3278d6c082fb.tar.gz
re3-738bde1c1573f604b9550d9a008b3278d6c082fb.tar.bz2
re3-738bde1c1573f604b9550d9a008b3278d6c082fb.tar.lz
re3-738bde1c1573f604b9550d9a008b3278d6c082fb.tar.xz
re3-738bde1c1573f604b9550d9a008b3278d6c082fb.tar.zst
re3-738bde1c1573f604b9550d9a008b3278d6c082fb.zip
Diffstat (limited to 'src/entities/Ped.cpp')
-rw-r--r--src/entities/Ped.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Ped.cpp b/src/entities/Ped.cpp
index e908f14c..4d55de15 100644
--- a/src/entities/Ped.cpp
+++ b/src/entities/Ped.cpp
@@ -2084,7 +2084,7 @@ STARTPATCHES
InjectHook(0x4D2BB0, &CPed::Avoid, PATCH_JUMP);
InjectHook(0x4C6A50, &CPed::ClearAimFlag, PATCH_JUMP);
InjectHook(0x4C64F0, &CPed::ClearLookFlag, PATCH_JUMP);
- InjectHook(0x4E5BD0, &CPed::IsPedHeadAbovePos, PATCH_JUMP);
+ InjectHook(0x4EB670, &CPed::IsPedHeadAbovePos, PATCH_JUMP);
InjectHook(0x4E68A0, &CPed::FinishedAttackCB, PATCH_JUMP);
InjectHook(0x4E5BD0, &CheckForPedsOnGroundToAttack, PATCH_JUMP);
InjectHook(0x4E6BA0, &CPed::Attack, PATCH_JUMP);