mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
allowed the OK button only message box to be escaped with ESC key
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9051 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1547,8 +1547,13 @@ UINT32 MessageBoxScreenHandle( )
|
|||||||
{
|
{
|
||||||
if ( gMsgBox.usFlags & MSG_BOX_FLAG_YESNO || gMsgBox.usFlags & MSG_BOX_FLAG_OKSKIP)
|
if ( gMsgBox.usFlags & MSG_BOX_FLAG_YESNO || gMsgBox.usFlags & MSG_BOX_FLAG_OKSKIP)
|
||||||
{
|
{
|
||||||
// Exit messagebox
|
// Exit messagebox
|
||||||
gMsgBox.bHandled = MSG_BOX_RETURN_NO;
|
gMsgBox.bHandled = MSG_BOX_RETURN_NO;
|
||||||
|
}
|
||||||
|
else if (gMsgBox.usFlags & MSG_BOX_FLAG_OK)
|
||||||
|
{
|
||||||
|
// Exit messagebox
|
||||||
|
gMsgBox.bHandled = MSG_BOX_RETURN_OK;
|
||||||
}
|
}
|
||||||
//OJW - 20090208 - Input Box
|
//OJW - 20090208 - Input Box
|
||||||
else if( gMsgBox.usFlags & MSG_BOX_FLAG_INPUTBOX )
|
else if( gMsgBox.usFlags & MSG_BOX_FLAG_INPUTBOX )
|
||||||
|
|||||||
Reference in New Issue
Block a user