From 69c4bf1494b19ca3b3333effff83086b0f0b87fd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Aug 2011 03:43:22 +0300 Subject: Remove some unused code. --- src/net/ea/inventoryhandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net') diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index acd674d12..2e52b85ff 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -275,7 +275,7 @@ void InventoryHandler::processPlayerStorageEquip(Net::MessageIn &msg) void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg) { int index, amount, itemId, equipType, refine; - int cards[4], itemType; +// int cards[4], itemType; unsigned char identified; int floorId; @@ -296,9 +296,9 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg) msg.readInt8(); // attribute refine = msg.readInt8(); for (int i = 0; i < 4; i++) - cards[i] = msg.readInt16(); + msg.readInt16(); // cards[i] equipType = msg.readInt16(); - itemType = msg.readInt8(); + msg.readInt8(); // itemType const ItemInfo &itemInfo = ItemDB::get(itemId); -- cgit v1.2.3-70-g09d2