Skip to content
Snippets Groups Projects
Commit db9d8cc3 authored by Ian Prins's avatar Ian Prins
Browse files

allow caps response to quit prompt

parent d5a02ad8
No related branches found
No related tags found
No related merge requests found
......@@ -37,10 +37,10 @@ class QuitPrompt : public Prompt {
{}
virtual Transition handleInput(TCOD_key_t key) {
if (key.c == 'y') {
if (key.c == 'y' || key.c == 'Y') {
return Transition(NULL, new RIPScreen(player));
}
if (key.c == 'n') {
if (key.c == 'n' || key.c == 'N') {
return Transition(NULL, NULL);
}
return Transition(this, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment