This commit is contained in:
parent
2bf0b369ab
commit
857a7065cb
2 changed files with 6 additions and 1 deletions
|
@ -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 )
|
||||||
|
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue