diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 12 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index bc5987f1c..e5116a612 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -1037,8 +1037,6 @@ void BeingHandler::processBeingStatusChange(Net::MessageIn &msg) return; } - const bool status1 = msg.getId() == SMSG_BEING_STATUS_CHANGE; - // Status change const uint16_t status = msg.readInt16("status"); const int id = msg.readInt32("being id"); 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); |