This commit is contained in:
parent
49d44deb74
commit
08027943d1
7 changed files with 66 additions and 0 deletions
|
@ -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 ) )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue