This commit is contained in:
Charles 2001-07-12 20:42:49 +00:00
parent 78366ab3e4
commit 318b7986fd

View File

@ -131,6 +131,11 @@ void CNpcDualPlatformBarrelHazard::processMovement( int _frames )
if ( moveX ) if ( moveX )
{ {
if ( m_soundId == NOT_PLAYING )
{
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ROLLING_ROCK, true );
}
m_rotationDir = abs( moveX ) / moveX; m_rotationDir = abs( moveX ) / moveX;
} }
else else