summaryrefslogtreecommitdiff
path: root/src/gui/char_select.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-21 00:27:32 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-21 00:27:32 +0000
commit43e20b978e424d01ecbe49950b41111081a3ee43 (patch)
tree111336f68e90585acc6eb8b10fa0ad7dd4af5cb1 /src/gui/char_select.cpp
parent37b865d2ea580ee9abaf80b7c1efee1b062394c0 (diff)
downloadmana-43e20b978e424d01ecbe49950b41111081a3ee43.tar.gz
mana-43e20b978e424d01ecbe49950b41111081a3ee43.tar.bz2
mana-43e20b978e424d01ecbe49950b41111081a3ee43.tar.xz
mana-43e20b978e424d01ecbe49950b41111081a3ee43.zip
A few small fixes.
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r--src/gui/char_select.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index e9e8609b..ad71cb31 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -433,6 +433,13 @@ void charSelect()
case SDL_QUIT:
state = EXIT;
break;
+
+ case SDL_KEYDOWN:
+ if (event.key.keysym.sym == SDLK_ESCAPE)
+ {
+ state = EXIT;
+ }
+ break;
}
guiInput->pushInput(event);