corrected rtlights loading of cubemapname (stupid typo)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 27 Jan 2003 07:36:22 +0000 (07:36 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 27 Jan 2003 07:36:22 +0000 (07:36 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2702 d7cf8633-e32d-0410-b094-e92efae38249

r_shadow.c

index 11305fe..d1f0063 100644 (file)
@@ -1393,7 +1393,7 @@ void R_Shadow_LoadWorldLights(void)
                                shadow = false;
                                t++;
                        }
                                shadow = false;
                                t++;
                        }
-                       a = sscanf(t, "%f %f %f %f %f %f %f %d %s", &origin[0], &origin[1], &origin[2], &radius, &color[0], &color[1], &color[2], &style, &cubemapname);
+                       a = sscanf(t, "%f %f %f %f %f %f %f %d %s", &origin[0], &origin[1], &origin[2], &radius, &color[0], &color[1], &color[2], &style, cubemapname);
                        if (a < 9)
                                cubemapname[0] = 0;
                        *s = '\n';
                        if (a < 9)
                                cubemapname[0] = 0;
                        *s = '\n';