Fix bad size of CEconItemView

This commit is contained in:
aUniqueUser 2022-03-01 23:57:35 +00:00 committed by GitHub
parent 69f0418896
commit f6c581ece6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ int CTFPlayerInventory::GetItemCount()
return *(int *) ((char *) this + 80);
}
#define SIZE_OF_ITEMVIEW 228
#define SIZE_OF_ITEMVIEW 232
CEconItemView *CTFPlayerInventory::GetItem(int idx)
{
uintptr_t item_start = *(uintptr_t *) ((char *) this + 68);