mirror of
https://github.com/rehlds/metamod-r.git
synced 2025-01-13 15:18:19 +03:00
Fix refactoring mistake
This commit is contained in:
parent
16b01c2e55
commit
7e46cf73f6
@ -140,7 +140,7 @@ void CForwardCallbackJIT::naked_main()
|
||||
jecxz(go_next_plugin);
|
||||
jnz(go_next_plugin);
|
||||
|
||||
if (&plug == &m_jitdata->plugins->front()) { // init meta globals
|
||||
if (plug == m_jitdata->plugins->front()) { // init meta globals
|
||||
xor_(eax, eax);
|
||||
mov(dword_ptr[globals + mg_mres], MRES_IGNORED);
|
||||
mov(dword_ptr[globals + mg_prev_mres], eax); // MRES_UNSET
|
||||
@ -223,7 +223,7 @@ void CForwardCallbackJIT::naked_main()
|
||||
jecxz(go_next_plugin);
|
||||
jnz(go_next_plugin);
|
||||
|
||||
if (&plug == &m_jitdata->plugins->front()) { // init meta globals
|
||||
if (plug == m_jitdata->plugins->front()) { // init meta globals
|
||||
xor_(eax, eax);
|
||||
mov(dword_ptr[globals + mg_mres], MRES_IGNORED);
|
||||
mov(dword_ptr[globals + mg_prev_mres], eax); // MRES_UNSET
|
||||
|
Loading…
x
Reference in New Issue
Block a user