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:
Wanne
2009-02-09 19:23:10 +00:00
parent d626d8c835
commit f0edab9b48
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -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 )):
+1
View File
@@ -296,6 +296,7 @@ void GetPlayerKeyBoardInputForIMPHomePage( void )
}
break;
case (( ESC )):
HandleLapTopESCKey(); // WANNE: Fix for proper closing of the IMP laptop page
LeaveLapTopScreen( );
break;
default:
+1
View File
@@ -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 );