]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
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 c340b9dc03753139f4e65f70dc4c9a94b9974534..0bbb5e7be21ac65aee3033978db5f22af081c599 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;