From b3edef339706b5b89ca00b5830e44bc39200ffe0 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 12 Jul 2010 18:09:19 +0000 Subject: [PATCH] Make cl_bobmodel work if cl_bob2 is enabled too. Although I don't see why bobmodel depends on view bobbing, given it has its own cvar. From: MirceaKitsune git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10314 d7cf8633-e32d-0410-b094-e92efae38249 --- view.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/view.c b/view.c index 2acc06fe..615d52bd 100644 --- a/view.c +++ b/view.c @@ -714,7 +714,8 @@ void V_CalcRefdef (void) } // gun model bobbing code - if (cl_bob.value && cl_bobmodel.value) + if (cl_bob.value || cl_bob2.value) + if (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. -- 2.39.2