summaryrefslogtreecommitdiff
path: root/src/net/tmwa
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/tmwa
parent2ce675592a1a96cc9960082485797045a921676d (diff)
downloadplus-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.gz
plus-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.bz2
plus-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.xz
plus-a9877525597aa94f1d974b8f45567b4168cf6c8e.zip
Remove item default parameters.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp8
1 files changed, 4 insertions, 4 deletions
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")