diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-18 13:06:34 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-18 13:06:34 -0700 |
commit | 8446b826926ebbdb584cdfcd3dc5e4eb5bd142f1 (patch) | |
tree | 92a46d5c4117c2ac78552052179da88b8f213869 /src/game.cpp | |
parent | 4cb16f79b2ebc8b9681c9e0a81558ef177cd6031 (diff) | |
download | mana-8446b826926ebbdb584cdfcd3dc5e4eb5bd142f1.tar.gz mana-8446b826926ebbdb584cdfcd3dc5e4eb5bd142f1.tar.bz2 mana-8446b826926ebbdb584cdfcd3dc5e4eb5bd142f1.tar.xz mana-8446b826926ebbdb584cdfcd3dc5e4eb5bd142f1.zip |
Fixed the minimap so that it properly remembers if it was open on
closing, rather than opening every time the client loads.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game.cpp b/src/game.cpp index a9e59586..7791d641 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -19,8 +19,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "game.h" - #include <fstream> #include <physfs.h> #include <sstream> @@ -34,6 +32,7 @@ #include "emoteshortcut.h" #include "engine.h" #include "flooritemmanager.h" +#include "game.h" #include "graphics.h" #include "itemshortcut.h" #include "joystick.h" @@ -230,10 +229,11 @@ void createGuiWindows(Network *network) 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); - } } /** |