From a9877525597aa94f1d974b8f45567b4168cf6c8e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 20 Oct 2014 18:43:00 +0300 Subject: Remove item default parameters. --- src/net/tmwa/inventoryhandler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/net/tmwa') 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") -- cgit v1.2.3-70-g09d2