1
0
Fork 0
forked from fte/fteqw

Okay, so that just quadroupled my framerate...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@614 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-12-10 01:19:07 +00:00
parent 8f1a3bc79b
commit 73966f4eb0

View file

@ -834,11 +834,17 @@ void R_LoadRTLights(void)
char fname[MAX_QPATH];
char *file;
char *end;
int i;
vec3_t org;
float radius;
vec3_t rgb;
for (i=0 ; i<MAX_DLIGHTS ; i++)
{
cl_dlights[i].radius = 0;
}
COM_StripExtension(cl.worldmodel->name, fname);
strncat(fname, ".rtlights", MAX_QPATH-1);