summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-02-03 03:51:41 +0000
committerTim Angus <tim@ngus.net>2003-02-03 03:51:41 +0000
commitc88474a40a80a20b2075cb6e971dd63b85bad932 (patch)
treec0245ca87510111dac7756563ad3ccad6895c90a /src
parent25f425f0be798a7c81dec52185004aa6fbe77328 (diff)
* Fix to SCA_NOFOOTSTEPS
Diffstat (limited to 'src')
-rw-r--r--src/game/bg_pmove.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index 4663d2bd..a528b484 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -1284,10 +1284,13 @@ static void PM_CrashLand( void )
if( pm->ps->stats[STAT_HEALTH] > 0 )
PM_AddEvent( EV_FALL_MEDIUM );
}
- else if( delta > 7 )
- PM_AddEvent( EV_FALL_SHORT );
- else
- PM_AddEvent( PM_FootstepForSurface( ) );
+ else if( !BG_ClassHasAbility( pm->ps->stats[ STAT_PCLASS ], SCA_NOFOOTSTEPS ) )
+ {
+ if( delta > 7 )
+ PM_AddEvent( EV_FALL_SHORT );
+ else
+ PM_AddEvent( PM_FootstepForSurface( ) );
+ }
}
// start footstep cycle over