From: Martin Taibr Date: Wed, 27 Sep 2017 18:14:04 +0000 (+0200) Subject: don't reset oldvelocity on jump - otherwise pressing jump sometimes allows to avoid... X-Git-Tag: xonotic-v0.8.5~763^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=07a4f115b5ac62a73103dd819223047256476f82;p=xonotic%2Fxonotic-data.pk3dir.git don't reset oldvelocity on jump - otherwise pressing jump sometimes allows to avoid falldamage --- diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index 20e2d4cc3..21c216b39 100644 --- a/qcsrc/common/physics/player.qc +++ b/qcsrc/common/physics/player.qc @@ -390,9 +390,6 @@ bool PlayerJump(entity this) SET_JUMP_HELD(this); #ifdef SVQC - - this.oldvelocity_z = this.velocity_z; - animdecide_setaction(this, ANIMACTION_JUMP, true); if (autocvar_g_jump_grunt)