]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
disable canjump check until it's fixed
[xonotic/darkplaces.git] / 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
 
        // 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;
        {
                s->velocity[2] += s->movevars_jumpvelocity;
                s->onground = false;