don't care for singular/plural in -shaderasbitmap vs -shadersasbitmap etc.
authorRudolf Polzer <divverent@alientrap.org>
Fri, 30 Dec 2011 19:01:02 +0000 (20:01 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 30 Dec 2011 19:01:02 +0000 (20:01 +0100)
tools/quake3/q3map2/main.c

index b8c469d..5ad776d 100644 (file)
@@ -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;