This commit is contained in:
Charles 2001-07-24 19:32:06 +00:00
parent 2bf0b369ab
commit 857a7065cb
2 changed files with 6 additions and 1 deletions

View file

@ -77,6 +77,11 @@ void CNpcDustDevilEnemy::processMovement( int _frames )
bool pathComplete; bool pathComplete;
if ( m_soundId == NOT_PLAYING && m_data[m_type].moveSfx < CSoundMediator::NUM_SFXIDS )
{
m_soundId = (int) CSoundMediator::playSfx( m_data[m_type].moveSfx, true );
}
// deal with anims // deal with anims
if ( !m_animPlaying ) if ( !m_animPlaying )

View file

@ -135,7 +135,7 @@ CNpcEnemy::NPC_DATA CNpcEnemy::m_data[NPC_UNIT_TYPE_MAX] =
false, false,
false, false,
CSoundMediator::NUM_SFXIDS, CSoundMediator::NUM_SFXIDS,
CSoundMediator::NUM_SFXIDS, CSoundMediator::SFX_TORNADO,
false, false,
}, },