]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
better override lightSamplesInsist (-samples +1, +2, +3, +4 skip the samples preset...
authorRudolf Polzer <divverent@alientrap.org>
Fri, 22 Oct 2010 07:41:48 +0000 (09:41 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 22 Oct 2010 07:41:48 +0000 (09:41 +0200)
tools/quake3/q3map2/light.c

index 2d5a81df6550f976205e8f65fa7bf660e2b0bc69..99a5a47b4436b4b4893287908f385e26ab4e996f 100644 (file)
@@ -2258,6 +2258,8 @@ int LightMain( int argc, char **argv )
                {
                        if(*argv[i+1] == '+')
                                lightSamplesInsist = qtrue;
+                       else
+                               lightSamplesInsist = qfalse;
                        lightSamples = atoi( argv[ i + 1 ] );
                        if( lightSamples < 1 )
                                lightSamples = 1;