fixed a bug where this parameter was not marked VDECODE_FLAG_BYREF for SDKCall()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40973
This commit is contained in:
David Anderson 2007-06-17 05:19:55 +00:00
parent 6e5b2d7325
commit df9a745c04

View File

@ -186,6 +186,8 @@ static cell_t EndPrepSDKCall(IPluginContext *pContext, const cell_t *params)
vc = CreateValveCall(s_call_addr, s_vcalltype, s_has_return ? &s_return : NULL, s_params, s_numparams);
}
vc->thisinfo->decflags |= VDECODE_FLAG_BYREF;
if (!vc)
{
return BAD_HANDLE;