This commit is contained in:
parent
f86507df92
commit
7bc2eded0a
1 changed files with 5 additions and 0 deletions
|
@ -268,6 +268,11 @@ void CNpcSubSharkEnemy::processMovement( int _frames )
|
|||
bubblePos.vy -= getRnd() % 50;
|
||||
CFX::Create( CFX::FX_TYPE_BUBBLE_WATER, bubblePos );
|
||||
|
||||
if ( m_soundId == NOT_PLAYING )
|
||||
{
|
||||
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SPLASH, true );
|
||||
}
|
||||
|
||||
m_timerTimer = GameState::getOneSecondInFrames() >> 8;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue