From: lordhavoc Date: Fri, 15 Feb 2002 23:16:06 +0000 (+0000) Subject: reduced view warping when underwater X-Git-Tag: RELEASE_0_2_0_RC1~641 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=2eb150850a003f37581a3b84594c45e7400096de;ds=sidebyside reduced view warping when underwater git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1525 d7cf8633-e32d-0410-b094-e92efae38249 --- 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); } } }