Wren testing
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user