diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-28 17:34:39 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-28 19:02:27 +0100 |
commit | 4502951aed77f18175adb601f0e094fd921c360d (patch) | |
tree | 111f0efad74dad24932f5685f572e4c4031d7a49 /src/gui/tradewindow.cpp | |
parent | afdb517a87836995de7a94921cb2bfb2f9a2d56a (diff) | |
download | mana-4502951aed77f18175adb601f0e094fd921c360d.tar.gz mana-4502951aed77f18175adb601f0e094fd921c360d.tar.bz2 mana-4502951aed77f18175adb601f0e094fd921c360d.tar.xz mana-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/tradewindow.cpp')
-rw-r--r-- | src/gui/tradewindow.cpp | 1 |
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(); } |