mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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:
parent
a906ad0326
commit
57107d4f5c
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue