summaryrefslogtreecommitdiff
path: root/src/net/ea/tradehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/tradehandler.cpp')
-rw-r--r--src/net/ea/tradehandler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index 2f5186df..b02bb900 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -161,11 +161,10 @@ void TradeHandler::handleMessage(Net::MessageIn &msg)
msg.skip(8); // card (4 shorts)
// TODO: handle also identified, etc
- if (type == 0) {
+ if (type == 0)
tradeWindow->setMoney(amount);
- } else {
+ else
tradeWindow->addItem(type, false, amount, false);
- }
}
break;