Skip to content

Commit 87e7a5e

Browse files
committed
fix key mapping menu fault caused by keyfifo now including key-ups
1 parent 42f6ccb commit 87e7a5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/menues.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2618,7 +2618,7 @@ if (!VOLUMEALL) {
26182618
gametext(320>>1,90+9+9+9,"PRESS \"ESCAPE\" TO CANCEL",0,2+8+16);
26192619

26202620
sc = KB_GetLastScanCode();
2621-
if ( sc != sc_None ) {
2621+
if ( sc > sc_None ) {
26222622
if ( sc == sc_Escape ) {
26232623
sound(EXITMENUSOUND);
26242624
} else {

0 commit comments

Comments
 (0)