aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/tier0/dbg.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/public/tier0/dbg.h')
-rw-r--r--mp/src/public/tier0/dbg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mp/src/public/tier0/dbg.h b/mp/src/public/tier0/dbg.h
index c1f8794e..2faa26a5 100644
--- a/mp/src/public/tier0/dbg.h
+++ b/mp/src/public/tier0/dbg.h
@@ -253,9 +253,13 @@ DBG_INTERFACE struct SDL_Window * GetAssertDialogParent();
if ( ret == SPEW_DEBUGGER) \
{ \
if ( !ShouldUseNewAssertDialog() || DoNewAssertDialog( __TFILE__, __LINE__, _msg ) ) \
+ { \
DebuggerBreak(); \
+ } \
if ( _bFatal ) \
+ { \
_ExitOnFatalAssert( __TFILE__, __LINE__ ); \
+ } \
} \
} \
} while (0)