diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-21 00:27:32 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-21 00:27:32 +0000 |
commit | 43e20b978e424d01ecbe49950b41111081a3ee43 (patch) | |
tree | 111336f68e90585acc6eb8b10fa0ad7dd4af5cb1 /src/gui/char_select.cpp | |
parent | 37b865d2ea580ee9abaf80b7c1efee1b062394c0 (diff) | |
download | mana-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.cpp | 7 |
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); |