diff options
author | ptitSeb | 2017-12-15 10:25:19 +0100 |
---|---|---|
committer | ptitSeb | 2017-12-15 10:25:19 +0100 |
commit | 9af530468e3f7fcb585efca91e9d85659a4c3640 (patch) | |
tree | 036ff4705ffcaf562b8bf11c121eb077237b7f0c /src | |
parent | 9918763c41070ae06d55eb198031f223ff60f72b (diff) | |
download | hydracastlelabyrinth-9af530468e3f7fcb585efca91e9d85659a4c3640.tar.gz hydracastlelabyrinth-9af530468e3f7fcb585efca91e9d85659a4c3640.tar.bz2 hydracastlelabyrinth-9af530468e3f7fcb585efca91e9d85659a4c3640.zip |
Added ESC (with space) the bring the main ingame menu
Diffstat (limited to 'src')
-rw-r--r-- | src/sdl/input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sdl/input.c b/src/sdl/input.c index 26fbbf1..bf9de55 100644 --- a/src/sdl/input.c +++ b/src/sdl/input.c @@ -76,7 +76,8 @@ void Input_KeyEvent(SDL_Event* evt) case SDLK_d: bFaceRight = w; break; case SDLK_r: bR = w; break; case SDLK_w: bL = w; break; - case SDLK_SPACE: bSelect = w; break; + case SDLK_SPACE: bSelect = w; break; + case SDLK_ESCAPE: bSelect = w; break; case SDLK_RETURN: bStart = w; break; #endif } |