diff --git a/src/filesystem.c b/src/filesystem.c index 9f482ddf..42f76096 100644 --- a/src/filesystem.c +++ b/src/filesystem.c @@ -2593,7 +2593,19 @@ static pack_t *FS_LoadZipFile( char *zipfile, const char *basename ) { unzGoToNextFile( uf ); } +/*//Code for dumping iwd pure sums + char headername[1024]; + sprintf(headername, "%s.sum", zipfile); + FILE* df = fopen(headername, "wb"); + if(df) + { + fwrite(fs_headerLongs, 4, fs_numHeaderLongs, df); + fclose(df); + } pack->checksum = Com_BlockChecksumKey32( fs_headerLongs, 4 * fs_numHeaderLongs, LittleLong( 0 ) ); + Com_Printf(CON_CHANNEL_DONT_FILTER, "%s: %d\n", zipfile, pack->checksum); +*/ + if(fs_checksumFeed) pack->pure_checksum = Com_BlockChecksumKey32( fs_headerLongs, 4 * fs_numHeaderLongs, LittleLong( fs_checksumFeed ) ); else diff --git a/src/version/version.c b/src/version/version.c index c141d445..f45ae129 100644 --- a/src/version/version.c +++ b/src/version/version.c @@ -1,6 +1,6 @@ #include "version.h" -#define SYS_COMMONVERSION 21.0 +#define SYS_COMMONVERSION 21.1 #define _STRINGIFY(s) #s #define STRINGIFY(s) _STRINGIFY(s)