diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-25 01:56:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-25 01:56:14 +0300 |
commit | 3b7922ace2174fb2542800b5a6462e2cabba19f2 (patch) | |
tree | 986398a17ec69b41e28dbbafebc181a3d3fc59dd /src/net/eathena/inventoryhandler.cpp | |
parent | 10a11861c685ab2250fb257666c5cda6dad0371c (diff) | |
download | plus-3b7922ace2174fb2542800b5a6462e2cabba19f2.tar.gz plus-3b7922ace2174fb2542800b5a6462e2cabba19f2.tar.bz2 plus-3b7922ace2174fb2542800b5a6462e2cabba19f2.tar.xz plus-3b7922ace2174fb2542800b5a6462e2cabba19f2.zip |
Fix compilation warnings.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index ff0e8eaaf..030925965 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -818,18 +818,6 @@ void InventoryHandler::processPlayerCartAdd(Net::MessageIn &msg) for (int f = 0; f < 4; f++) cards[f] = msg.readInt16("card"); - const ItemInfo &itemInfo = ItemDB::get(itemId); - int floorId; - if (mSentPickups.empty()) - { - floorId = 0; - } - else - { - floorId = mSentPickups.front(); - mSentPickups.pop(); - } - if (inventory) { const Item *const item = inventory->getItem(index); |