From 2eb150850a003f37581a3b84594c45e7400096de Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Fri, 15 Feb 2002 23:16:06 +0000 Subject: [PATCH 1/1] reduced view warping when underwater git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1525 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_screen.c b/cl_screen.c index 814e9b3f..0586a676 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -745,8 +745,8 @@ static void SCR_CalcRefdef (void) contents = Mod_PointInLeaf(r_refdef.vieworg, cl.worldmodel)->contents; if (contents != CONTENTS_EMPTY && contents != CONTENTS_SOLID) { - r_refdef.fov_x *= (sin(cl.time * 4.7) * 0.03 + 0.97); - r_refdef.fov_y *= (sin(cl.time * 3.0) * 0.03 + 0.97); + r_refdef.fov_x *= (sin(cl.time * 4.7) * 0.015 + 0.985); + r_refdef.fov_y *= (sin(cl.time * 3.0) * 0.015 + 0.985); } } } -- 2.39.2