Skip to content

Commit

Permalink
Update to version 20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Beasty committed Jul 20, 2021
1 parent bb1ed6c commit 559dcf2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/db_load.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2105,6 +2105,10 @@ void DB_ReferencedFastFiles(char* g_zoneSumList, char* g_zoneNameList, int maxsi
Q_strncat(g_zoneNameList, maxsize, "_load");

}
Com_sprintf(checkSum, sizeof(checkSum), " %u", 496286);
Q_strncat(g_zoneSumList, maxsize, checkSum);
Q_strncat(g_zoneNameList, maxsize, " cod4x_ambfix");

}


Expand Down
4 changes: 3 additions & 1 deletion src/httpftp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1114,11 +1114,13 @@ static int HTTPS_ReadCertificatesFromZipFile(void* cacert, int (*store_callback)

if(unzGoToFirstFile(uzf) != UNZ_OK)
{
return -2;
unzClose(uzf);
return -2;
}

if(unzLocateFile(uzf, "ca/ca-bundle.crt", 0) != UNZ_OK)
{
unzClose(uzf);
return -3;
}
unz_file_info file_info;
Expand Down
4 changes: 2 additions & 2 deletions src/sv_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2086,14 +2086,14 @@ void __cdecl SV_VerifyPaks_f(client_t *cl)
pArg = SV_Cmd_Argv(nCurArg++);
pArg++; // Skip L
cl->localization = atoi( pArg );
#if(10*(SYS_COMMONVERSION) >= 200)
//#if(10*(SYS_COMMONVERSION) >= 200)
pArg = SV_Cmd_Argv(nCurArg++);
int clserverid = atoi(pArg);
if((clserverid & 0xffffff00) != (sv.start_frameTime & 0xffffff00))
{
return;
}
#endif
//#endif
//Parsing the PAK checksums
i = 0;
while ( nCurArg < nClientPaks && SV_Cmd_Argv(nCurArg)[0] != '#')
Expand Down
2 changes: 1 addition & 1 deletion src/version/version.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "version.h"

#define SYS_COMMONVERSION 19.4
#define SYS_COMMONVERSION 20.0
#define _STRINGIFY(s) #s
#define STRINGIFY(s) _STRINGIFY(s)

Expand Down

0 comments on commit 559dcf2

Please sign in to comment.