diff --git a/src/game/scenes/mainmenu/menu_presskey.c b/src/game/scenes/mainmenu/menu_presskey.c index 4cd9e9672..4ac1c4970 100644 --- a/src/game/scenes/mainmenu/menu_presskey.c +++ b/src/game/scenes/mainmenu/menu_presskey.c @@ -80,9 +80,8 @@ void menu_presskey_tick(component *c) { int keys = 0; const unsigned char *state = SDL_GetKeyboardState(&keys); for(int i = 0; i < keys; i++) { - if (i < SDL_SCANCODE_A || - (i > SDL_SCANCODE_EXSEL && i < SDL_SCANCODE_KP_00) || - i > SDL_SCANCODE_KP_HEXADECIMAL) { + if(i < SDL_SCANCODE_A || (i > SDL_SCANCODE_EXSEL && i < SDL_SCANCODE_KP_00) || + i > SDL_SCANCODE_KP_HEXADECIMAL) { continue; }