summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-07 15:18:19 +0100
committerIra Rice <irarice@gmail.com>2008-12-07 19:46:18 -0700
commitb79e554aec966ef6ef847409c079dd7047264a9e (patch)
treee745e45ae3c4be24b746e358ca7e42200f0ec9b5 /src/game.cpp
parenta3859a9078b07865597332ba2d2f274a635b1180 (diff)
downloadmana-b79e554aec966ef6ef847409c079dd7047264a9e.tar.gz
mana-b79e554aec966ef6ef847409c079dd7047264a9e.tar.bz2
mana-b79e554aec966ef6ef847409c079dd7047264a9e.tar.xz
mana-b79e554aec966ef6ef847409c079dd7047264a9e.zip
Made minimap visible by default
Also remember its visibility state.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 93bec013..e907d97b 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -224,6 +224,8 @@ void createGuiWindows(Network *network)
miniStatusWindow->getWindowName() + "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->getWindowName() + "Visible", true));