finalize the crc of the progs file

This commit is contained in:
Bill Currie 2002-01-30 21:13:57 +00:00
parent c74e2a52c7
commit e1abe4c44b

View file

@ -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);