Skip to content

Commit

Permalink
Revert to default quit prompt keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Diordany committed Jul 31, 2024
1 parent 9f2365c commit ef74237
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions Quake/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1687,8 +1687,23 @@ void M_Quit_Char (int key)
{
switch (key)
{
case 'q':
case 'Q':
case 'n':
case 'N':
if (wasInMenus)
{
m_state = m_quit_prevstate;
m_entersound = true;
}
else
{
IN_Activate();
key_dest = key_game;
m_state = m_none;
}
break;

case 'y':
case 'Y':
IN_Deactivate(modestate == MS_WINDOWED);
key_dest = key_console;
Host_Quit_f ();
Expand Down

0 comments on commit ef74237

Please sign in to comment.