From 60e5c8608f0086198e5308b93e8851c041bd7e13 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 27 Jan 2003 07:36:22 +0000 Subject: [PATCH] corrected rtlights loading of cubemapname (stupid typo) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2702 d7cf8633-e32d-0410-b094-e92efae38249 --- r_shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r_shadow.c b/r_shadow.c index 11305fec..d1f00634 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -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'; -- 2.39.2