]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
disable canjump check until it's fixed
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 28 May 2006 20:43:18 +0000 (20:43 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 28 May 2006 20:43:18 +0000 (20:43 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6402 d7cf8633-e32d-0410-b094-e92efae38249

cl_input.c

index 83f688abd913585873e28c14a2082340691bad93..357ce6c5c9db5909ee733483c0eac100e6282028 100644 (file)
@@ -925,7 +925,7 @@ void CL_ClientMovement_Physics_Walk(cl_clientmovement_state_t *s)
 
        // jump if on ground with jump button pressed but only if it has been
        // released at least once since the last jump
-       if (s->q.jump && s->canjump && s->onground)
+       if (s->q.jump && s->onground)// && s->canjump) // FIXME: canjump doesn't work properly
        {
                s->velocity[2] += s->movevars_jumpvelocity;
                s->onground = false;