diff options
Diffstat (limited to 'src/m_menu.c')
-rw-r--r-- | src/m_menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/m_menu.c b/src/m_menu.c index 6809e6c0..1ced1d16 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -1605,8 +1605,8 @@ boolean M_Responder (event_t* ev) { if (messageNeedsInput) { - if (ch != ' ' && ch != KEY_ESCAPE - && ch != key_menu_confirm && ch != key_menu_abort) + if (key != ' ' && key != KEY_ESCAPE + && key != key_menu_confirm && key != key_menu_abort) { return false; } @@ -1615,7 +1615,7 @@ boolean M_Responder (event_t* ev) menuactive = messageLastMenuActive; messageToPrint = 0; if (messageRoutine) - messageRoutine(ch); + messageRoutine(key); menuactive = false; S_StartSound(NULL,sfx_swtchx); |