From 8e87c1cad8fe49aaf5a52c91cb630805f9ee0254 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 3 Dec 2015 16:08:04 +1000 Subject: [PATCH] Fix a mistake that potentially causes jump sounds where they shouldn't be --- qcsrc/common/physics.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2