From 405f7f1d078893aca5abd0506f6b46e8414824e9 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 9 Jan 2012 12:30:20 +0000 Subject: [PATCH] fix a typo, removing use of cl.viewangles git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11639 d7cf8633-e32d-0410-b094-e92efae38249 --- view.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/view.c b/view.c index a1f14cd2..92b0452f 100644 --- a/view.c +++ b/view.c @@ -458,8 +458,7 @@ static void highpass3_limited(vec3_t value, vec_t fracx, vec_t limitx, vec_t fra * cl.qw_weaponkick * cls.protocol * cl.time - * cl.velocity (TODO should these be parameters?) - * cl.viewangles (TODO should these be parameters?) + * cl.velocity (TODO should this be a parameter?) * Output: * cl.csqc_viewanglesfromengine * cl.csqc_viewmodelmatrixfromengine @@ -645,7 +644,7 @@ void V_CalcRefdefUsing (const matrix4x4_t *entrendermatrix, const vec3_t clviewa if (cldead && v_deathtilt.integer) viewangles[ROLL] = v_deathtiltangle.value; VectorAdd(viewangles, cl.punchangle, viewangles); - viewangles[ROLL] += V_CalcRoll(cl.viewangles, cl.velocity); + viewangles[ROLL] += V_CalcRoll(clviewangles, cl.velocity); if (v_dmg_time > 0) { viewangles[ROLL] += v_dmg_time/v_kicktime.value*v_dmg_roll; -- 2.39.2