summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-01-28 17:34:39 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-01-28 19:02:27 +0100
commit4502951aed77f18175adb601f0e094fd921c360d (patch)
tree111f0efad74dad24932f5685f572e4c4031d7a49 /src/gui
parentafdb517a87836995de7a94921cb2bfb2f9a2d56a (diff)
downloadmana-client-4502951aed77f18175adb601f0e094fd921c360d.tar.gz
mana-client-4502951aed77f18175adb601f0e094fd921c360d.tar.bz2
mana-client-4502951aed77f18175adb601f0e094fd921c360d.tar.xz
mana-client-4502951aed77f18175adb601f0e094fd921c360d.zip
Moved mTrading into the TradeHandler
Really only the trade handler is concerned about whether the player is currently in a trade or not. Reviewed-by: Erik Schilling
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/tradewindow.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp
index 1afc56f0..ae38f023 100644
--- a/src/gui/tradewindow.cpp
+++ b/src/gui/tradewindow.cpp
@@ -273,7 +273,6 @@ void TradeWindow::action(const gcn::ActionEvent &event)
{
setVisible(false);
reset();
- PlayerInfo::setTrading(false);
Net::getTradeHandler()->cancel();
}