]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
q3map2: accept -bsp stage option name without complaining
authorThomas Debesse <dev@illwieckz.net>
Fri, 26 Feb 2021 23:11:42 +0000 (00:11 +0100)
committerThomas Debesse <dev@illwieckz.net>
Fri, 26 Feb 2021 23:11:48 +0000 (00:11 +0100)
- using it is far more consistent with other stages,
- makes reading options less prone to errors:
  reading “q3map3 -meta” may induce to human
  reader that meta is a stage while in fact
  it's “q3map2 -bsp -meta” and meta is an
  option for the bsp stage,
- it is not bad to use the explicit -bsp stage option,
- there is no reason to recommend to not use it.

tools/quake3/q3map2/bsp.c

index 432de5d538af48580903a12e7d253380b1584958..e2bc46cca2a10c78bd2172d35c0a298bade3d864 100644 (file)
@@ -710,7 +710,6 @@ int BSPMain( int argc, char **argv ){
        surfaceFilePath[0] = 0;
 
        if ( argc >= 2 && !strcmp( argv[ 1 ], "-bsp" ) ) {
-               Sys_Printf( "-bsp argument unnecessary\n" );
                argv++;
                argc--;
        }