Skip to content
Permalink
Browse files

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

  • Loading branch information...
psychonic committed May 15, 2019
1 parent 05b3fc0 commit 7e418933e7737b6a0cbaad879f6deeafe361400f
Showing with 1 addition and 1 deletion.
  1. +1 −1 extensions/cstrike/util_cstrike.cpp
@@ -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);

0 comments on commit 7e41893

Please sign in to comment.
You can’t perform that action at this time.