mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fixes by rftr:
- options screen: fixed crash related to handling inputs while the screen was loading/refreshing - options screen and features screen: added 'Q' input handling to quit to the main menu git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9235 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -796,6 +796,13 @@ void GetUserInput()
|
||||
{
|
||||
switch (Event.usParam)
|
||||
{
|
||||
case 'q':
|
||||
case 'Q':
|
||||
//Confirm the Exit to the main menu screen
|
||||
DoMessageBox(MSG_BOX_BASIC_STYLE, zOptionsText[OPT_RETURN_TO_MAIN], FEATURES_SCREEN, MSG_BOX_FLAG_YESNO,
|
||||
ConfirmQuitToMainMenuMessageBoxCallBack);
|
||||
break;
|
||||
|
||||
case ESC:
|
||||
SetExitScreen(guiPreviousScreen);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user