diff --git a/source/sw/src/game.cpp b/source/sw/src/game.cpp index 500d0a689..8c644ea20 100644 --- a/source/sw/src/game.cpp +++ b/source/sw/src/game.cpp @@ -2657,9 +2657,11 @@ void Control() void _Assert(const char *expr, const char *strFile, unsigned uLine) { - sprintf(ds, "Assertion failed: %s %s, line %u", expr, strFile, uLine); - MONO_PRINT(ds); + buildprintf(ds, "Assertion failed: %s %s, line %u", expr, strFile, uLine); + debug_break(); + TerminateGame(); + #if 1 //def RENDERTYPEWIN wm_msgbox(apptitle, "%s", ds); #else