From 8ea86a46709d590f788817d68dac6680bcf6198a Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 8 Jul 2008 09:15:48 +0000 Subject: [PATCH] * Allow floating point values for r_znear --- code/renderer/tr_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/renderer/tr_init.c b/code/renderer/tr_init.c index 492b9240..48447aec 100644 --- a/code/renderer/tr_init.c +++ b/code/renderer/tr_init.c @@ -933,7 +933,7 @@ void R_Register( void ) r_lodbias = ri.Cvar_Get( "r_lodbias", "0", CVAR_ARCHIVE ); r_flares = ri.Cvar_Get ("r_flares", "0", CVAR_ARCHIVE ); r_znear = ri.Cvar_Get( "r_znear", "4", CVAR_CHEAT ); - ri.Cvar_CheckRange( r_znear, 0.001f, 200, qtrue ); + ri.Cvar_CheckRange( r_znear, 0.001f, 200, qfalse ); r_zproj = ri.Cvar_Get( "r_zproj", "64", CVAR_ARCHIVE ); r_stereoSeparation = ri.Cvar_Get( "r_stereoSeparation", "64", CVAR_ARCHIVE ); r_ignoreGLErrors = ri.Cvar_Get( "r_ignoreGLErrors", "1", CVAR_ARCHIVE );