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 f60e664..8091332 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;