summaryrefslogtreecommitdiff
path: root/src/cgame/cg_view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_view.c')
-rw-r--r--src/cgame/cg_view.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c
index 02284fca..c5096f57 100644
--- a/src/cgame/cg_view.c
+++ b/src/cgame/cg_view.c
@@ -229,21 +229,7 @@ static void CG_CalcVrect( void )
if( cg.snap->ps.pm_type == PM_INTERMISSION )
size = 100;
else
- {
- // bound normal viewsize
- if( cg_viewsize.integer < 30 )
- {
- trap_Cvar_Set( "cg_viewsize", "30" );
- size = 30;
- }
- else if( cg_viewsize.integer > 100 )
- {
- trap_Cvar_Set( "cg_viewsize","100" );
- size = 100;
- }
- else
- size = cg_viewsize.integer;
- }
+ size = cg_viewsize.integer;
cg.refdef.width = cgs.glconfig.vidWidth * size / 100;
cg.refdef.width &= ~1;