mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2025-01-31 06:57:28 +05:00
Fix wrong assembly hook for III pathfinding
This commit is contained in:
parent
7686d7cf23
commit
95af3acd4f
1 changed files with 1 additions and 1 deletions
|
@ -888,7 +888,7 @@ void Patch_III_Common()
|
||||||
|
|
||||||
// push ecx
|
// push ecx
|
||||||
// nop...
|
// nop...
|
||||||
Patch<uint8_t>( addr.get<void>( 0x3E ), 0x59 );
|
Patch<uint8_t>( addr.get<void>( 0x3E ), 0x51 );
|
||||||
Nop( addr.get<void>( 0x3E + 1 ), 6 );
|
Nop( addr.get<void>( 0x3E + 1 ), 6 );
|
||||||
InjectHook( addr.get<void>( 0x46 ), PickNextNodeToChaseCarXYZ );
|
InjectHook( addr.get<void>( 0x46 ), PickNextNodeToChaseCarXYZ );
|
||||||
Patch<uint8_t>( addr.get<void>( 0x4B + 2 ), 0xC );
|
Patch<uint8_t>( addr.get<void>( 0x4B + 2 ), 0xC );
|
||||||
|
|
Loading…
Reference in a new issue