From 4553078f3574e294bbb616528092d7a2b7455ef8 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 22 Oct 2010 09:41:48 +0200 Subject: [PATCH] better override lightSamplesInsist (-samples +1, +2, +3, +4 skip the samples preset loading) --- tools/quake3/q3map2/light.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2