]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
don't reset oldvelocity on jump - otherwise pressing jump sometimes allows to avoid...
authorMartin Taibr <taibr.martin@gmail.com>
Wed, 27 Sep 2017 18:14:04 +0000 (20:14 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Wed, 27 Sep 2017 18:14:04 +0000 (20:14 +0200)
qcsrc/common/physics/player.qc

index 20e2d4cc32f16d0b736e421d0a1172262492ff7c..21c216b39e9236f71bd12407cf9e8c6824dc22aa 100644 (file)
@@ -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)