summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index 1340a091..aa084264 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -128,7 +128,7 @@ InventoryHandler::~InventoryHandler()
void InventoryHandler::handleMessage(Net::MessageIn &msg)
{
int number, flag;
- int index, amount, itemId, equipType, arrow;
+ int index, amount, itemId, equipType;
int identified, cards[4], itemType;
Inventory *inventory = PlayerInfo::getInventory();
PlayerInfo::getEquipment()->setBackend(&mEquips);
@@ -158,7 +158,7 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg)
itemType = msg.readInt8();
identified = msg.readInt8();
amount = msg.readInt16();
- arrow = msg.readInt16();
+ msg.readInt16(); // Arrow
for (int i = 0; i < 4; i++)
cards[i] = msg.readInt16();