summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-09-16 21:39:04 +0200
committer/dev/humancontroller <devhc@example.com>2017-09-16 21:39:04 +0200
commit22ba59f9c42d7f35e6520d49ffde2c1d9079cc7b (patch)
tree2305b72eef26c77998cdbfeaa6cc50bd70f3a426
parentee0867e45271c6864d9c505d343018ba2fa992ea (diff)
abort() on Com_Error()
this aids debugging with the current setup
-rw-r--r--src/qcommon/common.c2
1 files changed, 2 insertions, 0 deletions
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);