]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Merge remote branch 'origin/mirceakitsune/landing_viewshake_fix'
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 20 Jul 2010 17:19:35 +0000 (17:19 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 20 Jul 2010 17:19:35 +0000 (17:19 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10355 d7cf8633-e32d-0410-b094-e92efae38249

view.c

diff --git a/view.c b/view.c
index 8498db86cbada985c411b76c1918e373dafdf290..97546eb0da9ee89f245009639458bac7732b5407 100644 (file)
--- a/view.c
+++ b/view.c
@@ -736,7 +736,7 @@ void V_CalcRefdef (void)
                                                        else
                                                                cl.bobfall_swing = 0;
 
-                                                       bobfall = sin(M_PI + M_PI * cl.bobfall_swing) * -cl.bobfall_speed;
+                                                       bobfall = sin(M_PI * cl.bobfall_swing) * cl.bobfall_speed;
                                                        vieworg[2] += bobfall;
                                                        gunorg[2] += bobfall;
                                                }