summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-03-23 17:27:17 +0000
committerIronClawTrem <louie.nutman@gmail.com>2020-03-23 17:27:17 +0000
commitcb0e416c5a6dbc0094295afd0ed5379e4980d28b (patch)
treeada2ac3abdc99ab8a277cde65168c36f03bf0f09 /src
parent6166dbf695f1272bbeff375cf4651a35e1d90a56 (diff)
allow cg_fov to actually change fov
Diffstat (limited to 'src')
-rw-r--r--src/cgame/cg_view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c
index 428f299..b80cc74 100644
--- a/src/cgame/cg_view.c
+++ b/src/cgame/cg_view.c
@@ -829,8 +829,8 @@ static int CG_CalcFov( void )
// set it
- cg.refdef.fov_x = fov_x;
- cg.refdef.fov_y = fov_y;
+ cg.refdef.fov_x = fov_x + ( cg_fov.integer - 90 );
+ cg.refdef.fov_y = fov_y + ( cg_fov.integer - 90 );
if( !cg.zoomed )
cg.zoomSensitivity = 1;