]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
changed Length() call to VectorLength() macro... inside a comment... yes pointless...
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 21 May 2002 10:20:45 +0000 (10:20 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 21 May 2002 10:20:45 +0000 (10:20 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1858 d7cf8633-e32d-0410-b094-e92efae38249

view.c

diff --git a/view.c b/view.c
index a74b72087a11bc0b1e43caa2e507415c624457fc..f2997685e513758a61e303198ed8cca26314c5e7 100644 (file)
--- a/view.c
+++ b/view.c
@@ -112,7 +112,7 @@ static float V_CalcBob (void)
        // (don't count Z, or jumping messes it up)
 
        bob = sqrt(cl.velocity[0]*cl.velocity[0] + cl.velocity[1]*cl.velocity[1]) * cl_bob.value;
-       //Con_Printf ("speed: %5.1f\n", Length(cl.velocity));
+       //Con_Printf ("speed: %5.1f\n", VectorLength(cl.velocity));
        bob = bob*0.3 + bob*0.7*sin(cycle);
        bob = bound(-7, bob, 4);
        return bob;