summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/inventoryhandler.cpp1
-rw-r--r--src/net/ea/inventoryitem.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index dffcd18bc..236c0aeff 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -251,6 +251,7 @@ void InventoryHandler::processPlayerStorageStatus(Net::MessageIn &msg)
{
mStorage->setItem((*it).slot,
(*it).id,
+ (*it).type,
(*it).quantity,
(*it).refine,
(*it).color,
diff --git a/src/net/ea/inventoryitem.h b/src/net/ea/inventoryitem.h
index 1b6fd7f65..d1460e215 100644
--- a/src/net/ea/inventoryitem.h
+++ b/src/net/ea/inventoryitem.h
@@ -42,6 +42,7 @@ class InventoryItem final
public:
int slot;
int id;
+ int type;
int cards[4];
int quantity;
uint8_t refine;
@@ -53,6 +54,7 @@ class InventoryItem final
InventoryItem(const int slot0,
const int id0,
+ const int type0,
const int *const cards0,
const int quantity0,
const uint8_t refine0,
@@ -63,6 +65,7 @@ class InventoryItem final
const bool equip0) :
slot(slot0),
id(id0),
+ type(type0),
quantity(quantity0),
refine(refine0),
color(color0),