summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-03-09 15:35:00 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-03-09 15:35:00 +0000
commit91176f564ae9462d50819f033756cb6e32b113ac (patch)
treeb6b4579ab02e37a570c8209510e85283563310fd /src/game.cpp
parent9085123bab570e32ddec9dda6ecfae40a3ac25f1 (diff)
downloadmana-client-91176f564ae9462d50819f033756cb6e32b113ac.tar.gz
mana-client-91176f564ae9462d50819f033756cb6e32b113ac.tar.bz2
mana-client-91176f564ae9462d50819f033756cb6e32b113ac.tar.xz
mana-client-91176f564ae9462d50819f033756cb6e32b113ac.zip
Applied some patches by peavey related to chatlog and the quit dialog.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 52d70bc0..553f80c3 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -525,8 +525,12 @@ void Game::handleInput()
exitConfirm = new ConfirmDialog(
"Quit", "Are you sure you want to quit?");
exitConfirm->addActionListener(&exitListener);
+ exitConfirm->requestMoveToTop();
+ }
+ else
+ {
+ exitConfirm->action(gcn::ActionEvent(NULL, "no"));
}
- exitConfirm->requestMoveToTop();
break;
default: