summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-20 18:43:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-20 18:43:00 +0300
commita9877525597aa94f1d974b8f45567b4168cf6c8e (patch)
tree56673d8e770302a2846f1d1db0db1a890bba95cd /src/net/eathena
parent2ce675592a1a96cc9960082485797045a921676d (diff)
downloadmanaverse-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.gz
manaverse-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.bz2
manaverse-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.xz
manaverse-a9877525597aa94f1d974b8f45567b4168cf6c8e.zip
Remove item default parameters.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/inventoryhandler.cpp8
1 files changed, 4 insertions, 4 deletions
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")