Merge branch 'martin-t/jump' into 'master'
authorMario <mario.mario@y7mail.com>
Fri, 11 Sep 2020 08:31:01 +0000 (08:31 +0000)
committerMario <mario.mario@y7mail.com>
Fri, 11 Sep 2020 08:31:01 +0000 (08:31 +0000)
Fix bug allowing players to avoid falldamage (tiny MR)

See merge request xonotic/xonotic-data.pk3dir!497

qcsrc/common/physics/player.qc

index ade9c4d6f8acc5a90f0411b680ab4ab34467dcf5..7e63442ca2bea6fb7bfeffb4b02f32107c9139b4 100644 (file)
@@ -424,9 +424,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)