mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
finalize the crc of the progs file
This commit is contained in:
parent
c74e2a52c7
commit
e1abe4c44b
1 changed files with 2 additions and 0 deletions
|
@ -161,6 +161,8 @@ PR_LoadProgsFile (progs_t * pr, VFile *file, int size, int edicts, int zone)
|
|||
|
||||
memcpy (pr->progs, &progs, sizeof (progs));
|
||||
Qread (file, pr->progs + 1, size - sizeof (progs));
|
||||
CRC_ProcessBlock ((byte *)(pr->progs + 1), & pr->crc,
|
||||
size - sizeof (progs));
|
||||
|
||||
if (pr->edicts)
|
||||
*pr->edicts = (edict_t *)((byte *) pr->progs + pr->progs_size);
|
||||
|
|
Loading…
Reference in a new issue