summaryrefslogtreecommitdiff
path: root/src/game/bg_pmove.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r--src/game/bg_pmove.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index 8cf32d01..4663d2bd 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -2045,7 +2045,8 @@ static void PM_Footsteps( void )
if( pm->waterlevel == 0 )
{
// on ground will only play sounds if running
- if( footstep && !pm->noFootsteps )
+ if( footstep && !pm->noFootsteps &&
+ !BG_ClassHasAbility( pm->ps->stats[ STAT_PCLASS ], SCA_NOFOOTSTEPS ) )
PM_AddEvent( PM_FootstepForSurface( ) );
}
else if( pm->waterlevel == 1 )