summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-28 23:17:16 +0000
committerIra Rice <irarice@gmail.com>2008-10-28 23:17:16 +0000
commitd532bc32e16c906dc6a88b3e45200f09e5f666f7 (patch)
treef11d024d94a896b6d79ef71d4a2fa0f2c2436e66 /src
parentbf986b19a872b472d8593d14bb6f1d3bc6721e8d (diff)
downloadmana-d532bc32e16c906dc6a88b3e45200f09e5f666f7.tar.gz
mana-d532bc32e16c906dc6a88b3e45200f09e5f666f7.tar.bz2
mana-d532bc32e16c906dc6a88b3e45200f09e5f666f7.tar.xz
mana-d532bc32e16c906dc6a88b3e45200f09e5f666f7.zip
Made it so that the trade window doesn't stay visible when it was open
before the client was closed. Patch by Trelos on TMW.
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 58c85e42..5299a1e5 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -224,6 +224,7 @@ void createGuiWindows(Network *network)
miniStatusWindow->getWindowName() + "Visible", true));
buyDialog->setVisible(false);
sellDialog->setVisible(false);
+ tradeWindow->setVisible(false);
menuWindow->setVisible((bool) config.getValue(
menuWindow->getWindowName() + "Visible", true));
itemShortcutWindow->setVisible((bool) config.getValue(