Fix crash in SDKHooks Reload post-hook (irc, r=psychonic).

--HG--
extra : rebase_source : ae38cb50949e0be8f0f754832ee829adebc5a525
This commit is contained in:
Peace-Maker 2014-01-27 10:09:03 -05:00
parent a2e2355101
commit c6899a86f1

View File

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