From 07a4f115b5ac62a73103dd819223047256476f82 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Wed, 27 Sep 2017 20:14:04 +0200 Subject: [PATCH] don't reset oldvelocity on jump - otherwise pressing jump sometimes allows to avoid falldamage --- qcsrc/common/physics/player.qc | 3 --- 1 file changed, 3 deletions(-) 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) -- 2.39.2