Re-add missing GetEconItemView param (fixes #1001). (#1017)

This commit is contained in:
Nicholas Hastings 2019-05-14 20:55:44 -04:00 committed by GitHub
parent 05b3fc0fb9
commit 7e418933e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,7 @@ CEconItemView *GetEconItemView(CBaseEntity *pEntity, int iSlot)
if (team != 2 && team != 3)
return NULL;
ArgBuffer<void*, int> vstk(reinterpret_cast<void*>(((intptr_t)pEntity + thisPtrOffset)), iSlot);
ArgBuffer<void*, int, int> vstk(reinterpret_cast<void*>(((intptr_t)pEntity + thisPtrOffset)), team, iSlot);
CEconItemView *ret = nullptr;
pWrapper->Execute(vstk, &ret);