]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a mistake that potentially causes jump sounds where they shouldn't be
authorMario <mario@smbclan.net>
Thu, 3 Dec 2015 06:08:04 +0000 (16:08 +1000)
committerMario <mario@smbclan.net>
Thu, 3 Dec 2015 06:08:04 +0000 (16:08 +1000)
qcsrc/common/physics.qc

index c4f0f4ce3f75ce8dda5be71301de740836d84a03..7a22ae1e53bb73521c690fc05a8c80f08f6aaed2 100644 (file)
@@ -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;
 }