From 22ba59f9c42d7f35e6520d49ffde2c1d9079cc7b Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sat, 16 Sep 2017 21:39:04 +0200 Subject: abort() on Com_Error() this aids debugging with the current setup --- src/qcommon/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qcommon/common.c b/src/qcommon/common.c index 2644a729..651c6b84 100644 --- a/src/qcommon/common.c +++ b/src/qcommon/common.c @@ -259,6 +259,8 @@ void QDECL Com_Error( int code, const char *fmt, ... ) { static int errorCount; int currentTime; + abort(); + if(com_errorEntered) Sys_Error("recursive error after: %s", com_errorMessage); -- cgit