]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/bsp.c
Merge commit 'f73cc19a6166fc04269f953c980175779f81b9b0' into garux-merge
[xonotic/netradiant.git] / tools / quake3 / q3map2 / bsp.c
index 1ed218963b8e47feec10b87bebc9a8e429c30361..35fdd5b7256a72afc7c84020cb5abf30f38ea2cd 100644 (file)
@@ -960,9 +960,10 @@ int BSPMain( int argc, char **argv ){
                        Sys_Printf( "Debug model clip enabled\n" );
                        debugClip = qtrue;
                }
-               else if ( !strcmp( argv[ i ], "-snapmodelclip" ) ) {
-                       Sys_Printf( "Snapping model clip enabled\n" );
-                       snapModelClip = qtrue;
+               else if ( !strcmp( argv[ i ],  "-clipdepth" ) ) {
+                       clipDepthGlobal = atof( argv[ i + 1 ] );
+                       i++;
+                       Sys_Printf( "Model autoclip thickness set to %.3f\n", clipDepthGlobal );
                }
                else if ( !strcmp( argv[ i ], "-sRGBtex" ) ) {
                        texturesRGB = qtrue;