Skip to content

Commit 7e41893

Browse files
authored
Re-add missing GetEconItemView param (fixes #1001). (#1017)
1 parent 05b3fc0 commit 7e41893

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/cstrike/util_cstrike.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ CEconItemView *GetEconItemView(CBaseEntity *pEntity, int iSlot)
136136
if (team != 2 && team != 3)
137137
return NULL;
138138

139-
ArgBuffer<void*, int> vstk(reinterpret_cast<void*>(((intptr_t)pEntity + thisPtrOffset)), iSlot);
139+
ArgBuffer<void*, int, int> vstk(reinterpret_cast<void*>(((intptr_t)pEntity + thisPtrOffset)), team, iSlot);
140140

141141
CEconItemView *ret = nullptr;
142142
pWrapper->Execute(vstk, &ret);

0 commit comments

Comments
 (0)