shithub: choc

Download patch

ref: fb4a67b74c4f5d5f305f2641c97881a9b8bf7da2
parent: 5a63dede9be5a1a126debc57be3075e565bc1248
author: Simon Howard <[email protected]>
date: Wed Feb 14 14:11:30 EST 2007

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

--- a/src/i_system.c
+++ b/src/i_system.c
@@ -239,6 +239,6 @@
     D_QuitNetGame ();
     I_ShutdownGraphics();
     
-    exit(-1);
+    abort();
 }