From: Rudolf Polzer Date: Fri, 30 Dec 2011 19:01:02 +0000 (+0100) Subject: don't care for singular/plural in -shaderasbitmap vs -shadersasbitmap etc. X-Git-Tag: xonotic-v0.6.0~33 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=a0b68611bcddd3498b648bf5e4856ca6b0856a86;p=xonotic%2Fnetradiant.git don't care for singular/plural in -shaderasbitmap vs -shadersasbitmap etc. --- diff --git a/tools/quake3/q3map2/main.c b/tools/quake3/q3map2/main.c index b8c469db..5ad776d1 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;