diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-20 18:18:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-20 18:18:03 +0300 |
commit | cf2a41b8a691e3ecfeef8289cb0a21989ceac882 (patch) | |
tree | 4074a3935525877ca5e01bab48714ea5f930d541 /src/net/tmwa/tradehandler.cpp | |
parent | a111555bd7dbb939673f25f1e8a1f211f61250ad (diff) | |
download | manaverse-cf2a41b8a691e3ecfeef8289cb0a21989ceac882.tar.gz manaverse-cf2a41b8a691e3ecfeef8289cb0a21989ceac882.tar.bz2 manaverse-cf2a41b8a691e3ecfeef8289cb0a21989ceac882.tar.xz manaverse-cf2a41b8a691e3ecfeef8289cb0a21989ceac882.zip |
Remove from tmwa namespace checks for haveItemColors.
Diffstat (limited to 'src/net/tmwa/tradehandler.cpp')
-rw-r--r-- | src/net/tmwa/tradehandler.cpp | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp index e48536874..8f9a110df 100644 --- a/src/net/tmwa/tradehandler.cpp +++ b/src/net/tmwa/tradehandler.cpp @@ -186,29 +186,14 @@ void TradeHandler::processTradeItemAdd(Net::MessageIn &msg) } else { - if (serverFeatures->haveItemColors()) - { - tradeWindow->addItem2(type, 0, - cards, 4, - false, amount, - refine, - identify, - Identified_true, - Damaged_false, - Favorite_false, - Equipm_false); - } - else - { - tradeWindow->addItem2(type, 0, - cards, 4, - false, amount, - refine, 1, - fromBool(identify, Identified), - Damaged_false, - Favorite_false, - Equipm_false); - } + tradeWindow->addItem2(type, 0, + cards, 4, + false, amount, + refine, 1, + fromBool(identify, Identified), + Damaged_false, + Favorite_false, + Equipm_false); } } } |