summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-26 19:48:33 -0700
committerIra Rice <irarice@gmail.com>2009-01-26 19:48:33 -0700
commit306e345adab33a67e3fc12aad2f7ae7c6c86302c (patch)
tree78cefbb888c945a6d785ea806c54d606c9528dca /src/game.cpp
parent6b658b783521d17dffaa7609491c627f1d9763db (diff)
downloadmana-306e345adab33a67e3fc12aad2f7ae7c6c86302c.tar.gz
mana-306e345adab33a67e3fc12aad2f7ae7c6c86302c.tar.bz2
mana-306e345adab33a67e3fc12aad2f7ae7c6c86302c.tar.xz
mana-306e345adab33a67e3fc12aad2f7ae7c6c86302c.zip
Slight bit of code cleanup, as well as minor fixes to logic. For some
reason, the windows will gladly shrink when resizeable, but not grow. This will need to get resolved some time later. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 76cf792e..5b37d409 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -234,12 +234,8 @@ void createGuiWindows(Network *network)
itemShortcutWindow->getWindowName() + "Visible", true));
emoteShortcutWindow->setVisible((bool) config.getValue(
emoteShortcutWindow->getWindowName() + "Visible", true));
-
- if (!(bool) config.getValue("MinimapVisible", true))
- minimap->toggle();
-
- if (config.getValue("logToChat", 0))
- logger->setChatWindow(chatWindow);
+ minimap->setVisible((bool) config.getValue(
+ minimap->getWindowName() + "Visible", true));
}
/**