summaryrefslogtreecommitdiff
path: root/src/net/tmwa/tradehandler.cpp
diff options
context:
space:
mode:
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);
}
}
}