Yikes, fixed HookEventEx()
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40808
This commit is contained in:
parent
4ed2d6e515
commit
727e15b5a3
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user