mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
New option AUTO_HIDE_PB (TRUE) enables auto hiding of the progress bar when mouse cursor is on the top map row.
AI soldiers will now avoid staying at top map row. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8723 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+7
-2
@@ -3469,7 +3469,7 @@ BOOLEAN InitSaveDir()
|
||||
|
||||
// WDS - Automatically try to save when an assertion failure occurs
|
||||
extern bool alreadySaving = false;
|
||||
|
||||
extern bool bHideTopMessage;
|
||||
|
||||
BOOLEAN SaveGame( int ubSaveGameID, STR16 pGameDesc )
|
||||
{
|
||||
@@ -3786,8 +3786,13 @@ BOOLEAN SaveGame( int ubSaveGameID, STR16 pGameDesc )
|
||||
FileWrite( hFile, &gGameOptions, sizeof( GAME_OPTIONS ), &uiNumBytesWritten );
|
||||
|
||||
//
|
||||
//Save the gTactical Status array, plus the curent secotr location
|
||||
//Save the gTactical Status array, plus the current sector location
|
||||
//
|
||||
|
||||
// sevenfm: enable fInTopMessage if top bar is hidden, to correctly show it after loading game
|
||||
if (bHideTopMessage)
|
||||
gTacticalStatus.fInTopMessage = TRUE;
|
||||
|
||||
if( !SaveTacticalStatusToSavedGame( hFile ) )
|
||||
{
|
||||
ScreenMsg( FONT_MCOLOR_WHITE, MSG_ERROR, L"ERROR writing tactical status");
|
||||
|
||||
Reference in New Issue
Block a user