summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-25 01:56:14 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-25 01:56:14 +0300
commit3b7922ace2174fb2542800b5a6462e2cabba19f2 (patch)
tree986398a17ec69b41e28dbbafebc181a3d3fc59dd /src/net/eathena/inventoryhandler.cpp
parent10a11861c685ab2250fb257666c5cda6dad0371c (diff)
downloadmanaplus-3b7922ace2174fb2542800b5a6462e2cabba19f2.tar.gz
manaplus-3b7922ace2174fb2542800b5a6462e2cabba19f2.tar.bz2
manaplus-3b7922ace2174fb2542800b5a6462e2cabba19f2.tar.xz
manaplus-3b7922ace2174fb2542800b5a6462e2cabba19f2.zip
Fix compilation warnings.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp12
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);