This commit is contained in:
Nick Hastings 2018-12-06 20:31:29 -05:00
parent a01529b210
commit 4bebdc18a2

View File

@ -184,7 +184,7 @@ static cell_t GiveNamedItem(IPluginContext *pContext, const cell_t *params)
DECODE_VALVE_PARAM(3, vparams, 1); DECODE_VALVE_PARAM(3, vparams, 1);
*(CEconItemView **)(vptr + 12) = NULL; *(CEconItemView **)(vptr + 12) = NULL;
*(bool *)(vptr + 16) = false; *(bool *)(vptr + 16) = false;
*(void **)(vptr + 20) = NULL; *(void **)(vptr + 17) = NULL;
FINISH_CALL_SIMPLE(&pEntity); FINISH_CALL_SIMPLE(&pEntity);
return gamehelpers->EntityToBCompatRef(pEntity); return gamehelpers->EntityToBCompatRef(pEntity);