[Add] Made ESC quit from main menu.
This commit is contained in:
parent
f7bc3fbae5
commit
620c55736b
@ -127,6 +127,8 @@ mainMenuNavVal_t MainMenu::Run(void) {
|
|||||||
case 3: return mainMenuExitGame;
|
case 3: return mainMenuExitGame;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if(event.key.keysym.sym == SDLK_ESCAPE) {
|
||||||
|
return mainMenuExitGame;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(event.type == SDL_MOUSEBUTTONUP) {
|
else if(event.type == SDL_MOUSEBUTTONUP) {
|
||||||
|
Loading…
Reference in New Issue
Block a user