diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-20 18:43:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-20 18:43:00 +0300 |
commit | a9877525597aa94f1d974b8f45567b4168cf6c8e (patch) | |
tree | 56673d8e770302a2846f1d1db0db1a890bba95cd /src/net | |
parent | 2ce675592a1a96cc9960082485797045a921676d (diff) | |
download | manaverse-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.gz manaverse-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.bz2 manaverse-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.xz manaverse-a9877525597aa94f1d974b8f45567b4168cf6c8e.zip |
Remove item default parameters.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 8 | ||||
-rw-r--r-- | src/net/tmwa/inventoryhandler.cpp | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index f4250efc5..dbfcf2b98 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -279,7 +279,7 @@ void InventoryHandler::processPlayerStorageStatus(Net::MessageIn &msg) FOR_EACH (Ea::InventoryItems::const_iterator, it, mInventoryItems) { mStorage->setItem((*it).slot, (*it).id, (*it).quantity, - (*it).refine, (*it).color, (*it).equip); + (*it).refine, (*it).color, (*it).equip, false); } mInventoryItems.clear(); diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index cf46a95d8..1e0ccd072 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -326,7 +326,7 @@ void InventoryHandler::processPlayerEquipment(Net::MessageIn &msg) if (inventory) { inventory->setItem(index, itemId, 1, refine, - 1, true); + 1, true, false); } if (equipType) @@ -422,7 +422,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg) amount += item->getQuantity(); inventory->setItem(index, itemId, amount, refine, - 1, equipType != 0); + 1, equipType != 0, false); } ArrowsListener::distributeEvent(); } @@ -466,7 +466,7 @@ void InventoryHandler::processPlayerInventory(Net::MessageIn &msg) if (inventory) { inventory->setItem(index, itemId, amount, - 0, 1, false); + 0, 1, false, false); } } BLOCK_END("InventoryHandler::processPlayerInventory") @@ -627,7 +627,7 @@ void InventoryHandler::processPlayerStorageAdd(Net::MessageIn &msg) if (mStorage) { mStorage->setItem(index, itemId, amount, - refine, 1, false); + refine, 1, false, false); } } BLOCK_END("InventoryHandler::processPlayerStorageAdd") diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp index 6cd74da5a..2620fd1cc 100644 --- a/src/net/tmwa/inventoryhandler.cpp +++ b/src/net/tmwa/inventoryhandler.cpp @@ -272,7 +272,7 @@ void InventoryHandler::processPlayerEquipment(Net::MessageIn &msg) if (inventory) { inventory->setItem(index, itemId, 1, refine, - identified, true); + identified, true, false); } if (equipType) @@ -367,7 +367,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg) identified = 1; inventory->setItem(index, itemId, amount, refine, - identified, equipType != 0); + identified, equipType != 0, false); } ArrowsListener::distributeEvent(); } @@ -422,7 +422,7 @@ void InventoryHandler::processPlayerInventory(Net::MessageIn &msg) if (inventory) { inventory->setItem(index, itemId, amount, - 0, identified, isEquipment); + 0, identified, isEquipment, false); } } BLOCK_END("InventoryHandler::processPlayerInventory") @@ -559,7 +559,7 @@ void InventoryHandler::processPlayerStorageAdd(Net::MessageIn &msg) identified = 1; mStorage->setItem(index, itemId, amount, - refine, identified, false); + refine, identified, false, false); } } BLOCK_END("InventoryHandler::processPlayerStorageAdd") |