diff options
author | Jared Adams <jaxad0127@gmail.com> | 2011-05-02 10:59:42 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2011-05-02 10:59:42 -0600 |
commit | d50df01d695c860fc4b464d134a2fb20ab031617 (patch) | |
tree | 605e67d61aa63661c914d4853592bb3841ba74dc /src | |
parent | e3a74efb4fd09e5a65cba3adee5551027c8d6676 (diff) | |
download | mana-client-d50df01d695c860fc4b464d134a2fb20ab031617.tar.gz mana-client-d50df01d695c860fc4b464d134a2fb20ab031617.tar.bz2 mana-client-d50df01d695c860fc4b464d134a2fb20ab031617.tar.xz mana-client-d50df01d695c860fc4b464d134a2fb20ab031617.zip |
Remove an unused variable in packet handling.
Trivial change, no review needed.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/tmwa/inventoryhandler.cpp | 4 |
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(); |