mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Allowed the 1.13 custom message boxes (corpse handling, CTRL+. one etc.) to be escaped/skipped via ESC key (by Shadooow).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9031 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1557,6 +1557,11 @@ UINT32 MessageBoxScreenHandle( )
|
||||
gMsgBox.bHandled = MSG_BOX_RETURN_NO;
|
||||
memset(gszMsgBoxInputString,0,sizeof(CHAR16)*255);
|
||||
}
|
||||
//shadooow - 20210515 - allowing to escape from our custom multibutton message boxes
|
||||
else if (gMsgBox.usFlags & MSG_BOX_FLAG_GENERIC_FOUR_BUTTONS || gMsgBox.usFlags & MSG_BOX_FLAG_GENERIC_EIGHT_BUTTONS || gMsgBox.usFlags & MSG_BOX_FLAG_GENERIC_SIXTEEN_BUTTONS)
|
||||
{
|
||||
gMsgBox.bHandled = 99;
|
||||
}
|
||||
}
|
||||
|
||||
if( InputEvent.usParam == ENTER )
|
||||
|
||||
Reference in New Issue
Block a user