summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-03-02 02:14:49 +0300
committerAndrei Karas <akaras@inbox.ru>2019-03-02 02:14:49 +0300
commit6c894cb2c8cd64cbef663ea235c51dea4ce58cd5 (patch)
tree8aea65e065cdf769fe479614fdac8698be8eb5b1 /src/net/tmwa/inventoryrecv.cpp
parentad8f6fd4136646e251e3d79cef7b7db110364a9b (diff)
downloadmanaverse-6c894cb2c8cd64cbef663ea235c51dea4ce58cd5.tar.gz
manaverse-6c894cb2c8cd64cbef663ea235c51dea4ce58cd5.tar.bz2
manaverse-6c894cb2c8cd64cbef663ea235c51dea4ce58cd5.tar.xz
manaverse-6c894cb2c8cd64cbef663ea235c51dea4ce58cd5.zip
Impliment packet SMSG_INVENTORY_START 0x0b08
Diffstat (limited to 'src/net/tmwa/inventoryrecv.cpp')
-rw-r--r--src/net/tmwa/inventoryrecv.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/inventoryrecv.cpp b/src/net/tmwa/inventoryrecv.cpp
index ee0d9346f..8aacd38a0 100644
--- a/src/net/tmwa/inventoryrecv.cpp
+++ b/src/net/tmwa/inventoryrecv.cpp
@@ -331,7 +331,7 @@ void InventoryRecv::processPlayerInventory(Net::MessageIn &msg)
void InventoryRecv::processPlayerStorage(Net::MessageIn &msg)
{
BLOCK_START("InventoryRecv::processPlayerInventory")
- Ea::InventoryRecv::mInventoryItems.clear();
+ Ea::InventoryRecv::mStorageItems.clear();
msg.readInt16("len");
const int number = (msg.getLength() - 4) / 18;
@@ -357,7 +357,7 @@ void InventoryRecv::processPlayerStorage(Net::MessageIn &msg)
cards[0], cards[1], cards[2], cards[3]);
}
- Ea::InventoryRecv::mInventoryItems.push_back(Ea::InventoryItem(
+ Ea::InventoryRecv::mStorageItems.push_back(Ea::InventoryItem(
index,
itemId,
itemType,
@@ -444,7 +444,7 @@ void InventoryRecv::processPlayerStorageEquip(Net::MessageIn &msg)
CAST_U32(refine));
}
- Ea::InventoryRecv::mInventoryItems.push_back(Ea::InventoryItem(
+ Ea::InventoryRecv::mStorageItems.push_back(Ea::InventoryItem(
index,
itemId,
itemType,