]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/bsp.c
Q3map2:
[xonotic/netradiant.git] / tools / quake3 / q3map2 / bsp.c
index 2edf9f5d95538b9a6cbd42d266b82e60a6836e25..1cef5a48aac927b813eeb86fc7f039df8107f16e 100644 (file)
@@ -955,9 +955,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;