mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-24 03:02:31 +00:00
Ensure edict_parse is reset on progs load
A server switching from a game that sets edict_parse to one that does not could go badly when it comes time to loading a level.
This commit is contained in:
parent
9bb68f2d8c
commit
6e56c9a4aa
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ PR_LoadProgsFile (progs_t *pr, QFile *file, int size)
|
|||
pr->pr_edict_size = align_size (pr->pr_edict_size);
|
||||
|
||||
pr->pr_edictareasize = pr->max_edicts * pr->pr_edict_size;
|
||||
pr->edict_parse = 0;
|
||||
|
||||
mem_size = pr->progs_size + pr->zone_size + pr->pr_edictareasize
|
||||
+ pr->stack_size;
|
||||
|
|
Loading…
Reference in a new issue