summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-07-02 21:31:12 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-07-02 21:38:31 +0200
commit34e8fffcb4b41bb3049dfca9d42cea2e1da637f8 (patch)
treeac548bca4c386f171252ce284d66185464234d3c
parentCheck if address is used twice (diff)
downloadre3-34e8fffcb4b41bb3049dfca9d42cea2e1da637f8.tar
re3-34e8fffcb4b41bb3049dfca9d42cea2e1da637f8.tar.gz
re3-34e8fffcb4b41bb3049dfca9d42cea2e1da637f8.tar.bz2
re3-34e8fffcb4b41bb3049dfca9d42cea2e1da637f8.tar.lz
re3-34e8fffcb4b41bb3049dfca9d42cea2e1da637f8.tar.xz
re3-34e8fffcb4b41bb3049dfca9d42cea2e1da637f8.tar.zst
re3-34e8fffcb4b41bb3049dfca9d42cea2e1da637f8.zip
-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 14aad60a..61d6d182 100644
--- a/src/entities/Ped.cpp
+++ b/src/entities/Ped.cpp
@@ -1696,7 +1696,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);