mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Turned on Abends so they appear rather then having the program simply CTD.
Setup a failsafe in the pathfinding system that will force an abend should the system fall into an infinite loop. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2194 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+2
-2
@@ -265,7 +265,7 @@ UINT32 ErrorScreenHandle(void)
|
||||
{
|
||||
InputAtom InputEvent;
|
||||
static BOOLEAN fFirstTime = FALSE;
|
||||
#ifdef JA2BETAVERSION
|
||||
#if defined ( JA2BETAVERSION ) || defined ( FORCE_ASSERTS_ON )
|
||||
CHAR16 str[256];
|
||||
#endif
|
||||
|
||||
@@ -287,7 +287,7 @@ UINT32 ErrorScreenHandle(void)
|
||||
SetFontForeground( FONT_LTRED );
|
||||
|
||||
|
||||
#ifdef JA2BETAVERSION
|
||||
#if defined ( JA2BETAVERSION ) || defined ( FORCE_ASSERTS_ON )
|
||||
|
||||
if( gubAssertString[0] )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user