]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
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 11305fecdda16ec2ba9a1c52d86dee095acdb5ce..d1f00634556854e01133f13d26b749c9c2d4c680 100644 (file)
@@ -1393,7 +1393,7 @@ void R_Shadow_LoadWorldLights(void)
                                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';