mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Bugfix: Bug #137: Open IMP page in laptop and then close laptop using key ESC. You will see
button for closing window on strategic map... if you press this button you will have CTD. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2588 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -512,6 +512,7 @@ void GetPlayerKeyBoardInputForIMPBeginScreen( void )
|
||||
fNewCharInString = TRUE;
|
||||
break;
|
||||
case (( ESC )):
|
||||
HandleLapTopESCKey(); // WANNE: Fix for proper closing of the IMP laptop page
|
||||
LeaveLapTopScreen( );
|
||||
break;
|
||||
case (( TAB )):
|
||||
|
||||
@@ -296,6 +296,7 @@ void GetPlayerKeyBoardInputForIMPHomePage( void )
|
||||
}
|
||||
break;
|
||||
case (( ESC )):
|
||||
HandleLapTopESCKey(); // WANNE: Fix for proper closing of the IMP laptop page
|
||||
LeaveLapTopScreen( );
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -40,6 +40,7 @@ BOOLEAN DoLapTopSystemMessageBox( UINT8 ubStyle, STR16 zString, UINT32 uiExitSc
|
||||
BOOLEAN RemoveBookMark( INT32 iBookId );
|
||||
void CreateFileAndNewEmailIconFastHelpText( UINT32 uiHelpTextID, BOOLEAN fClearHelpText );
|
||||
BOOLEAN InitLaptopAndLaptopScreens();
|
||||
void HandleLapTopESCKey( void );
|
||||
|
||||
// clear out all tempf iles from laptop
|
||||
void ClearOutTempLaptopFiles( void );
|
||||
|
||||
Reference in New Issue
Block a user