summaryrefslogtreecommitdiff
path: root/src/net/tmwa/tradehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-20 18:18:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-20 18:18:03 +0300
commitcf2a41b8a691e3ecfeef8289cb0a21989ceac882 (patch)
tree4074a3935525877ca5e01bab48714ea5f930d541 /src/net/tmwa/tradehandler.cpp
parenta111555bd7dbb939673f25f1e8a1f211f61250ad (diff)
downloadmv-cf2a41b8a691e3ecfeef8289cb0a21989ceac882.tar.gz
mv-cf2a41b8a691e3ecfeef8289cb0a21989ceac882.tar.bz2
mv-cf2a41b8a691e3ecfeef8289cb0a21989ceac882.tar.xz
mv-cf2a41b8a691e3ecfeef8289cb0a21989ceac882.zip
Remove from tmwa namespace checks for haveItemColors.
Diffstat (limited to 'src/net/tmwa/tradehandler.cpp')
-rw-r--r--src/net/tmwa/tradehandler.cpp31
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);
}
}
}