summaryrefslogtreecommitdiff
path: root/src/net/tmwa/tradehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-03 21:31:39 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-03 21:31:39 +0200
commitbb73cadd0afdc9fa55ea66ecedd8be53a6f3198e (patch)
tree8e4da86724032979f76b13be685878d5c84a11ea /src/net/tmwa/tradehandler.cpp
parentcb8ccdd838b0cc08a1620f1ed9c311d75f1aceba (diff)
downloadmanaplus-bb73cadd0afdc9fa55ea66ecedd8be53a6f3198e.tar.gz
manaplus-bb73cadd0afdc9fa55ea66ecedd8be53a6f3198e.tar.bz2
manaplus-bb73cadd0afdc9fa55ea66ecedd8be53a6f3198e.tar.xz
manaplus-bb73cadd0afdc9fa55ea66ecedd8be53a6f3198e.zip
Chnage same methods with different parameters number to different names.
Diffstat (limited to 'src/net/tmwa/tradehandler.cpp')
-rw-r--r--src/net/tmwa/tradehandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp
index 815c8f54d..a63c530a6 100644
--- a/src/net/tmwa/tradehandler.cpp
+++ b/src/net/tmwa/tradehandler.cpp
@@ -207,7 +207,7 @@ void TradeHandler::handleMessage(Net::MessageIn &msg)
}
else
{
- tradeWindow->addItem(type, false, amount, refine,
+ tradeWindow->addItem2(type, false, amount, refine,
identify, false);
}
}
@@ -237,7 +237,7 @@ void TradeHandler::handleMessage(Net::MessageIn &msg)
if (tradeWindow)
{
- tradeWindow->addItem(item->getId(), true, quantity,
+ tradeWindow->addItem2(item->getId(), true, quantity,
item->getRefine(), item->getColor(),
item->isEquipment());
}