This commit is contained in:
Charles 2001-07-12 18:53:06 +00:00
parent 49d44deb74
commit 08027943d1
7 changed files with 66 additions and 0 deletions

View file

@ -91,6 +91,11 @@ void CNpcCollapsingBubblePlatform::processLifetime( int _frames )
{
m_lifetime = GameState::getOneSecondInFrames() >> 2;
m_pop = true;
if ( m_soundId == NOT_PLAYING )
{
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_BALLOON_POP, true );
}
}
else if ( m_lifetime <= ( GameState::getOneSecondInFrames() >> 1 ) )
{