Fixes a recent colormod bug.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2039 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-03-01 18:55:16 +00:00
parent a906ad0326
commit 57107d4f5c

View file

@ -965,12 +965,9 @@ void CL_ClearState (void)
memset (cl_dlights, 0, sizeof(cl_dlights)); memset (cl_dlights, 0, sizeof(cl_dlights));
memset (cl_lightstyle, 0, sizeof(cl_lightstyle)); memset (cl_lightstyle, 0, sizeof(cl_lightstyle));
memset (cl_baselines, 0, sizeof(cl_baselines));
for (i = 0; i < MAX_EDICTS; i++) for (i = 0; i < MAX_EDICTS; i++)
{ {
cl_baselines[i].scale = 1*16; memcpy(&cl_baselines[i], &nullentitystate, sizeof(cl_baselines[i]));
cl_baselines[i].trans = 255;
} }