From: Mario Date: Thu, 3 Dec 2015 06:08:04 +0000 (+1000) Subject: Fix a mistake that potentially causes jump sounds where they shouldn't be X-Git-Tag: xonotic-v0.8.2~1582 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8e87c1cad8fe49aaf5a52c91cb630805f9ee0254;p=xonotic%2Fxonotic-data.pk3dir.git Fix a mistake that potentially causes jump sounds where they shouldn't be --- diff --git a/qcsrc/common/physics.qc b/qcsrc/common/physics.qc index c4f0f4ce3..7a22ae1e5 100644 --- a/qcsrc/common/physics.qc +++ b/qcsrc/common/physics.qc @@ -520,7 +520,7 @@ bool PlayerJump(entity this) animdecide_setaction(this, ANIMACTION_JUMP, true); if (autocvar_g_jump_grunt) - WITH(entity, this, this, PlayerSound(playersound_jump, CH_PLAYER, VOICETYPE_PLAYERSOUND)); + WITH(entity, self, this, PlayerSound(playersound_jump, CH_PLAYER, VOICETYPE_PLAYERSOUND)); #endif return true; }