Allow lumas if the server doesn't care.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3329 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-07-24 19:46:32 +00:00
parent e14edce4fd
commit ad07e50ee8

View file

@ -1409,7 +1409,8 @@ void CL_CheckServerInfo(void)
if (cl.spectator || cls.demoplayback || atoi(Info_ValueForKey(cl.serverinfo, "mirrors")))
cls.allow_mirrors=true;
if (cl.spectator || cls.demoplayback || atoi(Info_ValueForKey(cl.serverinfo, "allow_luma")))
s = Info_ValueForKey(cl.serverinfo, "allow_luma");
if (cl.spectator || cls.demoplayback || !*s || atoi(s))
cls.allow_luma=true;
if (cl.spectator || cls.demoplayback || atoi(Info_ValueForKey(cl.serverinfo, "allow_lmgamma")))