diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-05-07 18:39:04 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-05-07 18:39:04 +0000 |
commit | 4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39 (patch) | |
tree | cc4bba9cc47b66a9caf059b23b86daceb7f7d602 /src/game.cpp | |
parent | 518987f93a9723cdde25a2c23800e7476b396cee (diff) | |
download | mana-client-4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39.tar.gz mana-client-4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39.tar.bz2 mana-client-4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39.tar.xz mana-client-4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39.zip |
Now you get a confirmation dialog before exitting.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 95bbf384..a4fd8aa7 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -284,7 +284,7 @@ void do_input() if (event.key.keysym.sym == SDLK_ESCAPE) { - state = EXIT; + quitDialog->setVisible(true); } if (keysym.sym == SDLK_g && !chatWindow->isFocused()) |