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

This commit is contained in:
Peace-Maker 2014-01-27 10:09:03 -05:00
parent 3bbb48ce9e
commit 9d15512f3b

View File

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