]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
made cl_bob 0 also disable cl_bobmodel
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 15 Mar 2007 08:34:05 +0000 (08:34 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 15 Mar 2007 08:34:05 +0000 (08:34 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6974 d7cf8633-e32d-0410-b094-e92efae38249

view.c

diff --git a/view.c b/view.c
index 97ba0154eeb04c9d45882769807347f11da56785..f6e5ae6659545e37c40c3ef82b714c10a5e6b2a9 100644 (file)
--- a/view.c
+++ b/view.c
@@ -447,7 +447,7 @@ void V_CalcRefdef (void)
 
                                        VectorCopy(vieworg, gunorg);
 
-                                       if (cl_bobmodel.value)
+                                       if (cl_bob.value && cl_bobmodel.value)
                                        {
                                                // calculate for swinging gun model
                                                // the gun bobs when running on the ground, but doesn't bob when you're in the air.