This commit is contained in:
Charles 2001-07-24 19:52:44 +00:00
parent 7101daf48a
commit 7f60e855d5

View File

@ -134,6 +134,14 @@ void CNpcSteerableBarrelPlatform::processMovement( int _frames )
moveX = m_currentSpeed;
if ( m_currentSpeed )
{
if(m_soundId==NOT_PLAYING)
{
m_soundId=CSoundMediator::playSfx(CSoundMediator::SFX_ROLLING_BARREL,true);
}
}
// check for collision
if ( CGameScene::getCollision()->getHeightFromGround( Pos.vx + moveX, Pos.vy ) < -maxHeight )