From 6df7f6ce7ad0accee0797b4de36ebfa5596512a8 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 12 Jul 2010 18:06:44 +0000 Subject: [PATCH] Better bounds From: MirceaKitsune git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10300 d7cf8633-e32d-0410-b094-e92efae38249 --- view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view.c b/view.c index 4bc0e5f6..58eb31f3 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(-8, bob, 5); + vieworg[2] += bound(-8, bob, 10); // 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(-8, bob, 5); + gunorg[2] += bound(-8, bob, 10); } // horizontal bobbing code -- 2.39.2