mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-23 19:01:06 +00:00
Ensure execution state is initialized on progs load
This commit is contained in:
parent
61d7f4f9c4
commit
e3953be8f8
1 changed files with 6 additions and 0 deletions
|
@ -330,6 +330,12 @@ PR_LoadProgsFile (progs_t *pr, QFile *file, int size)
|
|||
def->type_encoding = xdef->type;
|
||||
}
|
||||
}
|
||||
pr->pr_trace = 0;
|
||||
pr->pr_trace_depth = 0;
|
||||
pr->pr_xfunction = 0;
|
||||
pr->pr_xstatement = 0;
|
||||
pr->pr_depth = 0;
|
||||
pr->localstack_used = 0;
|
||||
}
|
||||
|
||||
VISIBLE void
|
||||
|
|
Loading…
Reference in a new issue