]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Sorry, this is more correct
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Jul 2010 18:06:24 +0000 (18:06 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Jul 2010 18:06:24 +0000 (18:06 +0000)
From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10299 d7cf8633-e32d-0410-b094-e92efae38249

view.c

diff --git a/view.c b/view.c
index 0998260e7eea27ca5c5a98687d45b57f2e206977..4bc0e5f67cf0f472d40d5187911213875ae8748d 100644 (file)
--- 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