]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - view.c
changed most #define macros to use (,,,) format instead of {;;;} so they will gobble...
[xonotic/darkplaces.git] / view.c
diff --git a/view.c b/view.c
index 6d969d0d772eea387ac29a72a8a90ff16b803321..e9ea505b6c7a5fc6e235139d94555158939245a4 100644 (file)
--- a/view.c
+++ b/view.c
@@ -97,6 +97,8 @@ static float V_CalcBob (void)
        // LordHavoc: easy case
        if (cl_bob.value == 0)
                return 0;
+       if (cl_bobcycle.value == 0)
+               return 0;
 
        // LordHavoc: FIXME: this code is *weird*, redesign it sometime
        cycle = cl.time  / cl_bobcycle.value;