]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
view: Apply r_viewmodel_quake even when stationary
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 26 Sep 2020 21:11:34 +0000 (21:11 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 26 Sep 2020 21:11:34 +0000 (21:11 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12946 d7cf8633-e32d-0410-b094-e92efae38249

view.c

diff --git a/view.c b/view.c
index de2c471c8ab537e0bde3cb54b1ca1bf9c65e235d..7c70c058787a615e0ac6aa2222e526b6eed03af8 100644 (file)
--- a/view.c
+++ b/view.c
@@ -847,7 +847,7 @@ void V_CalcRefdefUsing (const matrix4x4_t *entrendermatrix, const vec3_t clviewa
                                }
 
                                // gun model bobbing code
-                               if (cl_bobmodel.value && bob)
+                               if (cl_bobmodel.value)
                                {
                                        vec3_t forward, right, up;
                                        AngleVectors (gunangles, forward, right, up);