diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-03 21:31:39 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-03 21:31:39 +0200 |
commit | bb73cadd0afdc9fa55ea66ecedd8be53a6f3198e (patch) | |
tree | 8e4da86724032979f76b13be685878d5c84a11ea /src/net | |
parent | cb8ccdd838b0cc08a1620f1ed9c311d75f1aceba (diff) | |
download | mv-bb73cadd0afdc9fa55ea66ecedd8be53a6f3198e.tar.gz mv-bb73cadd0afdc9fa55ea66ecedd8be53a6f3198e.tar.bz2 mv-bb73cadd0afdc9fa55ea66ecedd8be53a6f3198e.tar.xz mv-bb73cadd0afdc9fa55ea66ecedd8be53a6f3198e.zip |
Chnage same methods with different parameters number to different names.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/tradehandler.cpp | 4 |
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()); } |