summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-07 15:18:19 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-07 15:18:19 +0100
commite85660c9f01a9732dc2af422fedfb11c3543894b (patch)
treedd95233818c37d23e87b615e606c78235fb13f46 /src/game.cpp
parentc56bc78b5f5676784265dff8ed5334884e8dcc39 (diff)
downloadmana-e85660c9f01a9732dc2af422fedfb11c3543894b.tar.gz
mana-e85660c9f01a9732dc2af422fedfb11c3543894b.tar.bz2
mana-e85660c9f01a9732dc2af422fedfb11c3543894b.tar.xz
mana-e85660c9f01a9732dc2af422fedfb11c3543894b.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 9fa0129e..1d26c14b 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -219,6 +219,8 @@ void createGuiWindows(Network *network)
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));