From 4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sat, 7 May 2005 18:39:04 +0000 Subject: Now you get a confirmation dialog before exitting. --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.cpp') 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()) -- cgit v1.2.3-70-g09d2