From 988a6486d422f972ff479bac8860943315aa6014 Mon Sep 17 00:00:00 2001 From: maek Date: Tue, 21 Mar 2017 17:03:03 +0000 Subject: [PATCH] Fix argument parsing for -lightanglehl --- tools/quake3/q3map2/light.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2