From f60953840d94b42eff97ca52d2689fb7f15ae9ba Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Tue, 6 Aug 2019 22:53:10 +0300 Subject: [PATCH] Don't play ladder sound on grapple --- pm_shared/pm_shared.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pm_shared/pm_shared.c b/pm_shared/pm_shared.c index ace56595..c2513555 100644 --- a/pm_shared/pm_shared.c +++ b/pm_shared/pm_shared.c @@ -465,6 +465,9 @@ void PM_PlayStepSound( int step, float fvol ) } break; case STEP_LADDER: + if (pmove->flags & FL_IMMUNE_SLIME) { + break; + } switch( irand ) { // right foot