mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Auto save: Externalized the auto save feature (see GameSettings.cpp). No more need to create a file named "AutoSave.pls" in your JA2 root directory. But there is one bug in the game: The game always crashes after loading a "normal" savegame after an auto savegame was loaded. The error occurs, because the game tries to remove a mouse region that does not exists. I could not fix the bug, so I did not make an entry for auto save in the ja2_options.ini. Auto save is always false in the game, until this bug is fixed.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@526 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+7
-7
@@ -573,8 +573,8 @@ void UnHideMessagesDuringNPCDialogue( void )
|
||||
|
||||
void ScreenMsg( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ...)
|
||||
{
|
||||
__try
|
||||
{
|
||||
//__try
|
||||
//{
|
||||
wchar_t DestString[512];
|
||||
va_list argptr;
|
||||
|
||||
@@ -648,11 +648,11 @@ void ScreenMsg( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ...)
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
__except(filter(GetExceptionCode(), GetExceptionInformation()))
|
||||
{
|
||||
return;
|
||||
}
|
||||
//}
|
||||
//__except(filter(GetExceptionCode(), GetExceptionInformation()))
|
||||
//{
|
||||
// return;
|
||||
//}
|
||||
}
|
||||
|
||||
void ClearWrappedStrings( WRAPPED_STRING *pStringWrapperHead )
|
||||
|
||||
Reference in New Issue
Block a user