Fix crash in SDKHooks Reload post-hook (irc, r=psychonic).
--HG-- extra : rebase_source : ae38cb50949e0be8f0f754832ee829adebc5a525
This commit is contained in:
parent
a2e2355101
commit
c6899a86f1
@ -1164,7 +1164,7 @@ bool SDKHooks::Hook_ReloadPost()
|
||||
|
||||
callback = g_HookList[i].callback;
|
||||
callback->PushCell(entity);
|
||||
callback->PushCell(META_RESULT_OVERRIDE_RET(bool) ? 1 : 0);
|
||||
callback->PushCell(META_RESULT_ORIG_RET(bool) ? 1 : 0);
|
||||
callback->Execute(NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user