Fix argument parsing for -lightanglehl 65/head
authormaek <maek@paranoici.org>
Tue, 21 Mar 2017 17:03:03 +0000 (17:03 +0000)
committermaek <maek@paranoici.org>
Wed, 26 Jul 2017 13:23:03 +0000 (14:23 +0100)
tools/quake3/q3map2/light.c

index c340b9d..0bbb5e7 100644 (file)
@@ -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;