]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/bsp.c
Q3map2:
[xonotic/netradiant.git] / tools / quake3 / q3map2 / bsp.c
index da7374605d32fa698044fbeae938d254628d045e..a65b27f5efd16fa529274280baa703d98fa9ee70 100644 (file)
@@ -196,7 +196,7 @@ static void SetCloneModelNumbers( void ){
                                        Sys_Printf( "WARNING: Cloned entity %s referenced entity without model\n", value2 );
                                        continue;
                                }
-                               models = atoi( &value2[ 1 ] );
+                               models = atoi( &value3[ 1 ] );
 
                                /* add the model key */
                                sprintf( modelValue, "*%d", models );
@@ -981,6 +981,10 @@ int BSPMain( int argc, char **argv ){
                else if ( !strcmp( argv[ i ], "-bsp" ) ) {
                        Sys_Printf( "-bsp argument unnecessary\n" );
                }
+               else if ( !strcmp( argv[ i ], "-noob" ) ) {
+                       Sys_Printf( "No oBs!\n" );
+                       noob = qtrue;
+               }
                else
                {
                        Sys_Printf( "WARNING: Unknown option \"%s\"\n", argv[ i ] );