Fix wrong assembly hook for III pathfinding

This commit is contained in:
Silent 2018-06-16 13:02:19 +02:00
parent 7686d7cf23
commit 95af3acd4f
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1

View File

@ -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 );