From: maek Date: Tue, 21 Mar 2017 17:03:03 +0000 (+0000) Subject: Fix argument parsing for -lightanglehl X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=988a6486d422f972ff479bac8860943315aa6014;p=xonotic%2Fnetradiant.git Fix argument parsing for -lightanglehl --- diff --git a/tools/quake3/q3map2/light.c b/tools/quake3/q3map2/light.c index c340b9dc..0bbb5e7b 100644 --- a/tools/quake3/q3map2/light.c +++ b/tools/quake3/q3map2/light.c @@ -2788,6 +2788,7 @@ int LightMain( int argc, char **argv ){ Sys_Printf( "Disabling half lambert light angle attenuation\n" ); } } + i++; } else if ( !strcmp( argv[ i ], "-nostyle" ) || !strcmp( argv[ i ], "-nostyles" ) ) { noStyles = qtrue;