This commit is contained in:
Charles 2001-07-12 16:53:21 +00:00
parent 8b28dcc764
commit c0595dc15b
4 changed files with 13 additions and 5 deletions

View file

@ -64,12 +64,9 @@ void CNpcRollingRockHazard::processMovement( int _frames )
}
else
{
if ( !m_jump )
if ( m_soundId == NOT_PLAYING )
{
if ( m_soundId == NOT_PLAYING )
{
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ROLLING_ROCK, true );
}
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ROLLING_ROCK, true );
}
if ( distX )