From: lordhavoc Date: Tue, 21 May 2002 10:20:45 +0000 (+0000) Subject: changed Length() call to VectorLength() macro... inside a comment... yes pointless... X-Git-Tag: RELEASE_0_2_0_RC1~503 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8ecbaf59ab0ee4a684cb845177e28eeb260cdeb5;p=xonotic%2Fdarkplaces.git changed Length() call to VectorLength() macro... inside a comment... yes pointless I know... git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1858 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/view.c b/view.c index a74b7208..f2997685 100644 --- 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;