]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
fix a scanf warning
authorRudolf Polzer <divverent@xonotic.org>
Sun, 5 Jun 2011 17:19:45 +0000 (19:19 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 5 Jun 2011 17:19:45 +0000 (19:19 +0200)
tools/quake3/q3map2/light_ydnar.c

index f60e6645e4b57844c9ed96b9dc23ff6f8ba67fbe..809133212bbde3ab0faa9625bbb9be7ec1c8e618 100644 (file)
@@ -4052,7 +4052,7 @@ void SetupFloodLight( void )
                v5=floodlightIntensity;
                v6=floodlightDirectionScale;
 
-               sscanf( value, "%lf %lf %lf %lf %lf %lf", &v1, &v2, &v3, &v4, &v5);
+               sscanf( value, "%lf %lf %lf %lf %lf %lf", &v1, &v2, &v3, &v4, &v5, &v6);
 
                floodlightRGB[0]=v1;
                floodlightRGB[1]=v2;