summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2007-02-14 19:11:30 +0000
committerSimon Howard2007-02-14 19:11:30 +0000
commitfb4a67b74c4f5d5f305f2641c97881a9b8bf7da2 (patch)
tree229e649d730f7b1086e405f97f6b904463e26f7e
parent5a63dede9be5a1a126debc57be3075e565bc1248 (diff)
downloadchocolate-doom-fb4a67b74c4f5d5f305f2641c97881a9b8bf7da2.tar.gz
chocolate-doom-fb4a67b74c4f5d5f305f2641c97881a9b8bf7da2.tar.bz2
chocolate-doom-fb4a67b74c4f5d5f305f2641c97881a9b8bf7da2.zip
Make I_Error call abort() instead of exit(), so that we can get a
backtrace in the debugger. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 836
-rw-r--r--src/i_system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_system.c b/src/i_system.c
index 1009b23d..55c3b8fe 100644
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -239,6 +239,6 @@ void I_Error (char *error, ...)
D_QuitNetGame ();
I_ShutdownGraphics();
- exit(-1);
+ abort();
}