summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-21 15:55:16 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-21 15:55:16 -0400
commit315e75f125601b67b2fa137a6b141d2655f218b4 (patch)
tree1889f51cbff9594d3e262caa82f1543cd8feef1a /src
parentda016b298ce845d4f719e08ae6c1d904ad0863ce (diff)
downloadether-315e75f125601b67b2fa137a6b141d2655f218b4.tar.gz
ether-315e75f125601b67b2fa137a6b141d2655f218b4.tar.bz2
ether-315e75f125601b67b2fa137a6b141d2655f218b4.zip
enter works on menu
Diffstat (limited to 'src')
-rw-r--r--src/menu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/menu.cpp b/src/menu.cpp index da88a90..7e58de0 100644 --- a/src/menu.cpp +++ b/src/menu.cpp
@@ -79,7 +79,8 @@ void Menu::update(size_t dt, Game& game) {
79 game.muxer.playSound("closemenu"); 79 game.muxer.playSound("closemenu");
80 break; 80 break;
81 } 81 }
82 case SDLK_SPACE: { 82 case SDLK_SPACE:
83 case SDLK_RETURN: {
83 items[cursor].activationFunction(game); 84 items[cursor].activationFunction(game);
84 game.muxer.playSound("menuselect"); 85 game.muxer.playSound("menuselect");
85 break; 86 break;