make bomb key work to cancel menus.
This commit is contained in:
parent
2f5281fdda
commit
53d3829861
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ void handle_events(EventHandler handler, EventFlags flags, void *arg) {
|
|||
handler(E_CursorLeft, 0, arg);
|
||||
} else if(sym == tconfig.intval[KEY_SHOT] || sym == SDLK_RETURN) {
|
||||
handler(E_MenuAccept, 0, arg);
|
||||
} else if(sym == SDLK_ESCAPE) {
|
||||
} else if(sym == SDLK_ESCAPE || sym == tconfig.intval[KEY_BOMB]) {
|
||||
handler(E_MenuAbort, 0, arg);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue