mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
Ensure progs zone is always set on load
This commit is contained in:
parent
256dee98a1
commit
99c818adcc
1 changed files with 1 additions and 0 deletions
|
@ -212,6 +212,7 @@ PR_LoadProgsFile (progs_t *pr, QFile *file, int size)
|
|||
*pr->edicts = (edict_t *)((byte *) pr->progs + pr->progs_size);
|
||||
}
|
||||
|
||||
pr->zone = 0;
|
||||
if (pr->zone_size) {
|
||||
//FIXME zone_size needs to be at least as big as memzone_t, but
|
||||
//memzone_t is opaque so its size is unknown
|
||||
|
|
Loading…
Reference in a new issue