diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-01-25 22:48:24 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-01-25 22:48:24 +0000 |
commit | 2fb6fb2147e4c670c7e18f21a973d38dcb3709cf (patch) | |
tree | fd5cf13661f2bfe12a894d43f23f95922666ece9 /src/game.cpp | |
parent | c3c8c9887fa5320cb88a6d793daf033b10239213 (diff) | |
download | mana-client-2fb6fb2147e4c670c7e18f21a973d38dcb3709cf.tar.gz mana-client-2fb6fb2147e4c670c7e18f21a973d38dcb3709cf.tar.bz2 mana-client-2fb6fb2147e4c670c7e18f21a973d38dcb3709cf.tar.xz mana-client-2fb6fb2147e4c670c7e18f21a973d38dcb3709cf.zip |
*** empty log message ***
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 9210eefc..5cc75fa1 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -232,6 +232,12 @@ void do_input() // Workaround for Win and else #if __USE_UNIX98 SDL_WM_ToggleFullScreen(screen); + if ((int)config.getValue("screen", 0) == 0) { + config.setValue("screen", 1); + } + else { + config.setValue("screen", 0); + } #else int displayFlags = 0; if ((int)config.getValue("screen", 0)) { |