Fix issue with non-q2 servers.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5660 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2020-03-29 04:42:43 +00:00
parent 11e41f1e7d
commit e9ee4b8fdd

View file

@ -1394,7 +1394,7 @@ static int CL_LoadModels(int stage, qboolean dontactuallyload)
return -1;
#ifdef Q2CLIENT
if (cl.worldmodel && cl.worldmodel->checksum != cl.q2mapchecksum)
if (cls.protocol == CP_QUAKE2 && cl.worldmodel && cl.worldmodel->checksum != cl.q2mapchecksum)
Host_EndGame("Local map version differs from server: %i != '%i'\n", cl.worldmodel->checksum, cl.q2mapchecksum);
#endif