mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-25 05:48:03 -04:00
play a sound if the menu is activated with a different key than ESC (#862)
* play a sound if the menu is activated with a different key than ESC * fix ternary operator
This commit is contained in:
parent
a45ee95d57
commit
5fa249c14e
@ -951,6 +951,7 @@ boolean G_Responder(event_t* ev)
|
||||
((ev->type == ev_keydown) ||
|
||||
(ev->type == ev_mouseb_down) ||
|
||||
(ev->type == ev_joyb_down)) ?
|
||||
(!menuactive ? S_StartSound(NULL,sfx_swtchn) : true),
|
||||
M_StartControlPanel(), true : false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user