From 95af3acd4f86fa65c3dff2273bcaa9e9a7b7fd41 Mon Sep 17 00:00:00 2001 From: Silent <zdanio95@gmail.com> Date: Sat, 16 Jun 2018 13:02:19 +0200 Subject: [PATCH] Fix wrong assembly hook for III pathfinding --- SilentPatchIII/SilentPatchIII.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SilentPatchIII/SilentPatchIII.cpp b/SilentPatchIII/SilentPatchIII.cpp index 683a469..01d2f47 100644 --- a/SilentPatchIII/SilentPatchIII.cpp +++ b/SilentPatchIII/SilentPatchIII.cpp @@ -888,7 +888,7 @@ void Patch_III_Common() // push ecx // nop... - Patch<uint8_t>( addr.get<void>( 0x3E ), 0x59 ); + Patch<uint8_t>( addr.get<void>( 0x3E ), 0x51 ); Nop( addr.get<void>( 0x3E + 1 ), 6 ); InjectHook( addr.get<void>( 0x46 ), PickNextNodeToChaseCarXYZ ); Patch<uint8_t>( addr.get<void>( 0x4B + 2 ), 0xC );