diff --git a/idlib/Lib.cpp b/idlib/Lib.cpp index 221e639..117de1a 100644 --- a/idlib/Lib.cpp +++ b/idlib/Lib.cpp @@ -510,7 +510,7 @@ int IntForSixtets( byte *in ) { void AssertFailed( const char *file, int line, const char *expression ) { idLib::sys->DebugPrintf( "\n\nASSERTION FAILED!\n%s(%d): '%s'\n", file, line, expression ); #ifdef _MSC_VER - __asm int 0x03 + __debugbreak(); #elif defined( __GNUC__ ) __builtin_trap(); #else