From 8ecbaf59ab0ee4a684cb845177e28eeb260cdeb5 Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Tue, 21 May 2002 10:20:45 +0000 Subject: [PATCH] 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 --- view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2