This commit is contained in:
Charles 2001-07-12 20:58:37 +00:00
parent 349642025b
commit e2cd7b13d9

View File

@ -60,6 +60,13 @@ void CNpcFallingBlockPlatform::processMovement( int _frames )
{ {
Pos = m_base; Pos = m_base;
m_isFalling = true; m_isFalling = true;
if( m_soundId != NOT_PLAYING )
{
CSoundMediator::stopAndUnlockSfx( (xmPlayingId) m_soundId );
}
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ANY_OBJECT_FALLING, true );
} }
else else
{ {