diff --git a/engine/gl/gl_rmisc.c b/engine/gl/gl_rmisc.c index c5682588f..46840bfb5 100644 --- a/engine/gl/gl_rmisc.c +++ b/engine/gl/gl_rmisc.c @@ -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 ; iname, fname); strncat(fname, ".rtlights", MAX_QPATH-1);