diff --git a/mp/src/public/tier0/dbg.h b/mp/src/public/tier0/dbg.h index c1f8794e1..2faa26a59 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) diff --git a/sp/src/public/tier0/dbg.h b/sp/src/public/tier0/dbg.h index c1f8794e1..2faa26a59 100644 --- a/sp/src/public/tier0/dbg.h +++ b/sp/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)