mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Dump locals stack when dumping main stack
Any shutdown functions in progs will need locals too.
This commit is contained in:
parent
6a4ef598ab
commit
61d7f4f9c4
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ PR_RunError (progs_t * pr, const char *error, ...)
|
|||
|
||||
// dump the stack so PR_Error can shutdown functions
|
||||
pr->pr_depth = 0;
|
||||
pr->localstack_used = 0;
|
||||
|
||||
PR_Error (pr, "Program error: %s", string->str);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue