This commit is contained in:
Charles 2001-07-24 19:23:40 +00:00
parent 88bb372ec8
commit d344b5e263
2 changed files with 2 additions and 11 deletions

View file

@ -90,16 +90,9 @@ void CNpcBobbingPlatform::processMovement( int _frames )
moveY = 0;
}
/*if ( Pos.vy + moveY < m_initPos.vy )
if ( m_soundId == NOT_PLAYING )
{
Pos.vy = m_initPos.vy;
m_velocity = 0;
m_state = NPC_BOB_STOP;
moveY = 0;
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SINKING_CRATE, true, true );
}
else
{
Pos.vy += moveY;
}*/
}
}