diff --git a/src/extensions/taction/tactionext_hooks.cpp b/src/extensions/taction/tactionext_hooks.cpp index c0417e2f7..db66f15cb 100644 --- a/src/extensions/taction/tactionext_hooks.cpp +++ b/src/extensions/taction/tactionext_hooks.cpp @@ -225,7 +225,8 @@ DECLARE_PATCH(_TAction_Win_FlagLosersAsDefeatedInMultiplayer) /** * Stolen bytes / code. */ - _asm { mov ecx, [PlayerPtr] } + _asm { mov ecx, PlayerPtr } + _asm { mov ecx, [ecx] } JMP(0x00619FE1); } @@ -287,7 +288,8 @@ DECLARE_PATCH(_TAction_Lose_FlagLoserAsLostInMultiplayer) /** * Stolen bytes / code. */ - _asm { mov ecx, [PlayerPtr] } + _asm { mov ecx, PlayerPtr } + _asm { mov ecx, [ecx] } JMP(0x0061A00B); }