don't care for singular/plural in -shaderasbitmap vs -shadersasbitmap etc.

This commit is contained in:
Rudolf Polzer 2011-12-30 20:01:02 +01:00
parent 2f85cccd8c
commit a0b68611bc

View File

@ -1625,11 +1625,11 @@ int ConvertBSPMain( int argc, char **argv )
i++; i++;
Sys_Printf( "Distance epsilon set to %f\n", distanceEpsilon ); 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; shadersAsBitmap = qtrue;
else if( !strcmp( argv[ i ], "-lightmapsastexcoord" ) ) else if( !strcmp( argv[ i ], "-lightmapastexcoord" ) || !strcmp( argv[ i ], "-lightmapsastexcoord" ) )
lightmapsAsTexcoord = qtrue; lightmapsAsTexcoord = qtrue;
else if( !strcmp( argv[ i ], "-deluxemapsastexcoord" ) ) else if( !strcmp( argv[ i ], "-deluxemapastexcoord" ) || !strcmp( argv[ i ], "-deluxemapsastexcoord" ) )
{ {
lightmapsAsTexcoord = qtrue; lightmapsAsTexcoord = qtrue;
deluxemap = qtrue; deluxemap = qtrue;