summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-20 17:12:58 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-20 17:12:58 -0600
commit9f43e32022ac261c6475fc68832cbe9ba9645362 (patch)
treee7adfbfd17ade39fe03671e2be677934a7e894cd /src/game.cpp
parent3a7224117dfb6709b059fc258876699e969ec119 (diff)
downloadmana-9f43e32022ac261c6475fc68832cbe9ba9645362.tar.gz
mana-9f43e32022ac261c6475fc68832cbe9ba9645362.tar.bz2
mana-9f43e32022ac261c6475fc68832cbe9ba9645362.tar.xz
mana-9f43e32022ac261c6475fc68832cbe9ba9645362.zip
Fix up window visibility saving/restoring
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 6d724c9e..47d3b99c 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -247,35 +247,6 @@ static void createGuiWindows()
localChatTab = new ChatTab(_("General"));
- // Set initial window visibility
- chatWindow->setVisible((bool) config.getValue(
- chatWindow->getWindowName() + "Visible", true));
- miniStatusWindow->setVisible((bool) config.getValue(
- miniStatusWindow->getPopupName() + "Visible", true));
- buyDialog->setVisible(false);
- sellDialog->setVisible(false);
- minimap->setVisible((bool) config.getValue(
- minimap->getWindowName() + "Visible", true));
- tradeWindow->setVisible(false);
- menuWindow->setVisible((bool) config.getValue(
- menuWindow->getPopupName() + "Visible", true));
- itemShortcutWindow->setVisible((bool) config.getValue(
- itemShortcutWindow->getWindowName() + "Visible", true));
- emoteShortcutWindow->setVisible((bool) config.getValue(
- emoteShortcutWindow->getWindowName() + "Visible", true));
- minimap->setVisible((bool) config.getValue(
- minimap->getWindowName() + "Visible", true));
-#ifdef EATHENA_SUPPORT
- buySellDialog->setVisible(false);
-#endif
- npcTextDialog->setVisible(false);
- npcIntegerDialog->setVisible(false);
- npcListDialog->setVisible(false);
- npcStringDialog->setVisible(false);
-#ifdef EATHENA_SUPPORT
- storageWindow->setVisible(false);
-#endif
-
if (config.getValue("logToChat", 0))
{
logger->setChatWindow(chatWindow);