]> git.rm.cloudns.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)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 21 Jul 2010 04:57:37 +0000 (06:57 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10355 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=75b102d91eb62435d85a2074a2d39b4a505c36f8

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;
                                                }