From a0b68611bcddd3498b648bf5e4856ca6b0856a86 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 30 Dec 2011 20:01:02 +0100 Subject: [PATCH] don't care for singular/plural in -shaderasbitmap vs -shadersasbitmap etc. --- tools/quake3/q3map2/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/quake3/q3map2/main.c b/tools/quake3/q3map2/main.c index b8c469d..5ad776d 100644 --- a/tools/quake3/q3map2/main.c +++ b/tools/quake3/q3map2/main.c @@ -1625,11 +1625,11 @@ int ConvertBSPMain( int argc, char **argv ) i++; Sys_Printf( "Distance epsilon set to %f\n", distanceEpsilon ); } - else if( !strcmp( argv[ i ], "-shadersasbitmap" ) ) + else if( !strcmp( argv[ i ], "-shaderasbitmap" ) || !strcmp( argv[ i ], "-shadersasbitmap" ) ) shadersAsBitmap = qtrue; - else if( !strcmp( argv[ i ], "-lightmapsastexcoord" ) ) + else if( !strcmp( argv[ i ], "-lightmapastexcoord" ) || !strcmp( argv[ i ], "-lightmapsastexcoord" ) ) lightmapsAsTexcoord = qtrue; - else if( !strcmp( argv[ i ], "-deluxemapsastexcoord" ) ) + else if( !strcmp( argv[ i ], "-deluxemapastexcoord" ) || !strcmp( argv[ i ], "-deluxemapsastexcoord" ) ) { lightmapsAsTexcoord = qtrue; deluxemap = qtrue; -- 2.39.2