make PR_break do a backtrace instead of crashing the server

This commit is contained in:
Bill Currie 2002-09-07 06:48:15 +00:00
parent 656b0e3bb2
commit bf53f43e13

View file

@ -211,7 +211,8 @@ void
PF_break (progs_t *pr) PF_break (progs_t *pr)
{ {
Sys_Printf ("break statement\n"); Sys_Printf ("break statement\n");
*(int *) -4 = 0; // dump to debugger //*(int *) -4 = 0; // dump to debugger
PR_DumpState (pr);
// PR_RunError (pr, "break statement"); // PR_RunError (pr, "break statement");
} }