From 7e418933e7737b6a0cbaad879f6deeafe361400f Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Tue, 14 May 2019 20:55:44 -0400 Subject: [PATCH] Re-add missing GetEconItemView param (fixes #1001). (#1017) --- extensions/cstrike/util_cstrike.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/cstrike/util_cstrike.cpp b/extensions/cstrike/util_cstrike.cpp index eb7364f98..b579bb6ab 100644 --- a/extensions/cstrike/util_cstrike.cpp +++ b/extensions/cstrike/util_cstrike.cpp @@ -136,7 +136,7 @@ CEconItemView *GetEconItemView(CBaseEntity *pEntity, int iSlot) if (team != 2 && team != 3) return NULL; - ArgBuffer vstk(reinterpret_cast(((intptr_t)pEntity + thisPtrOffset)), iSlot); + ArgBuffer vstk(reinterpret_cast(((intptr_t)pEntity + thisPtrOffset)), team, iSlot); CEconItemView *ret = nullptr; pWrapper->Execute(vstk, &ret);