From: Rudolf Polzer Date: Sun, 5 Jun 2011 17:19:45 +0000 (+0200) Subject: fix a scanf warning X-Git-Tag: xonotic-v0.5.0~16 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=772c8fda0fbbf99451d471f99b7db6715ad88490;p=xonotic%2Fnetradiant.git fix a scanf warning --- diff --git a/tools/quake3/q3map2/light_ydnar.c b/tools/quake3/q3map2/light_ydnar.c index f60e6645..80913321 100644 --- a/tools/quake3/q3map2/light_ydnar.c +++ b/tools/quake3/q3map2/light_ydnar.c @@ -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;