Wren testing

This commit is contained in:
iikorni
2026-09-03 22:18:23 -05:00
parent f1c99067d8
commit 1a0dad769c
49 changed files with 14712 additions and 72 deletions
+2 -2
View File
@@ -1257,9 +1257,9 @@ static pack_t *COM_LoadPackFile(const char *packfile) {
Sys_Error("Error reading %s", packfile);
// crc the directory to check for modifications
CRC_Init(&crc);
crc::init(&crc);
for (i = 0; i < header.dirlen; i++)
CRC_ProcessByte(&crc, ((byte *) info)[i]);
crc::process_byte(&crc, ((byte *) info)[i]);
if (crc != PAK0_CRC_V106 && crc != PAK0_CRC_V101 && crc != PAK0_CRC_V100)
com_modified = true;