Yikes, fixed HookEventEx()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40808
This commit is contained in:
Scott Ehlert 2007-05-16 05:04:28 +00:00
parent 4ed2d6e515
commit 727e15b5a3

View File

@ -44,6 +44,7 @@ static cell_t sm_HookEventEx(IPluginContext *pContext, const cell_t *params)
IPluginFunction *pFunction;
pContext->LocalToString(params[1], &name);
pFunction = pContext->GetFunctionById(params[2]);
if (!pFunction)
{