mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Enable seg fault on I_Error ifdef DEVELOP
This produces a backtrace for I_Errors.
This commit is contained in:
parent
62c695cf2f
commit
d8ad8eb5d5
1 changed files with 2 additions and 2 deletions
|
|
@ -1891,8 +1891,8 @@ void I_Error(const char *error, ...)
|
|||
|
||||
W_Shutdown();
|
||||
|
||||
#if defined (PARANOIA) && defined (__CYGWIN__)
|
||||
*(INT32 *)2 = 4; //Alam: Debug!
|
||||
#if defined (PARANOIA) || defined (DEVELOP)
|
||||
*(INT32 *)0 = 4; //Alam: Debug!
|
||||
#endif
|
||||
|
||||
exit(-1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue