mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-11 21:31:30 +00:00
make PR_break do a backtrace instead of crashing the server
This commit is contained in:
parent
656b0e3bb2
commit
bf53f43e13
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue