This commit is contained in:
Charles 2001-07-12 18:53:06 +00:00
parent 49d44deb74
commit 08027943d1
7 changed files with 66 additions and 0 deletions

View file

@ -115,6 +115,13 @@ void CNpcSkullStomperEnemy::processClose( int _frames )
{
// colliding with ground
if( m_soundId != NOT_PLAYING )
{
CSoundMediator::stopAndUnlockSfx( (xmPlayingId) m_soundId );
}
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_HAZARD__FALLING_ROCK_LAND, true );
Pos.vy += groundHeight;
// pause and change direction