From: Rudolf Polzer Date: Fri, 22 Oct 2010 07:41:48 +0000 (+0200) Subject: better override lightSamplesInsist (-samples +1, +2, +3, +4 skip the samples preset... X-Git-Tag: xonotic-v0.5.0~165 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4553078f3574e294bbb616528092d7a2b7455ef8;p=xonotic%2Fnetradiant.git better override lightSamplesInsist (-samples +1, +2, +3, +4 skip the samples preset loading) --- diff --git a/tools/quake3/q3map2/light.c b/tools/quake3/q3map2/light.c index 2d5a81df..99a5a47b 100644 --- a/tools/quake3/q3map2/light.c +++ b/tools/quake3/q3map2/light.c @@ -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;