From 4e3f5eb38ac23d45b202d20597c123965743dbb4 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 12 Jul 2010 18:06:24 +0000 Subject: [PATCH] Sorry, this is more correct From: MirceaKitsune git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10299 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=5fdb35816f2161df3b40945df5ecb1483340a2ab --- view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view.c b/view.c index 0998260e..4bc0e5f6 100644 --- a/view.c +++ b/view.c @@ -660,12 +660,12 @@ void V_CalcRefdef (void) // (don't count Z, or jumping messes it up) bob = xyspeed * cl_bob.value; bob = bob*0.3 + bob*0.7*cycle; - vieworg[2] += bound(-7, bob, 7); + vieworg[2] += bound(-8, bob, 5); // we also need to adjust gunorg, or this appears like pushing the gun! // In the old code, this was applied to vieworg BEFORE copying to gunorg, // but this is not viable with the new followmodel code as that would mean // that followmodel would work on the munged-by-bob vieworg and do feedback - gunorg[2] += bound(-7, bob, 7); + gunorg[2] += bound(-8, bob, 5); } // horizontal bobbing code -- 2.39.2