This commit is contained in:
parent
bd6fd54608
commit
16c576b885
34 changed files with 288 additions and 49 deletions
|
@ -138,7 +138,12 @@ bool CNpcSquidDartEnemy::processSensor()
|
|||
|
||||
// sound
|
||||
|
||||
CSoundMediator::playSfx( CSoundMediator::SFX_SQUIDDART_ATTACK );
|
||||
if( m_soundId != NOT_PLAYING )
|
||||
{
|
||||
CSoundMediator::stopAndUnlockSfx( (xmPlayingId) m_soundId );
|
||||
}
|
||||
|
||||
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SQUIDDART_ATTACK, true );
|
||||
|
||||
return( true );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue