This commit is contained in:
Charles 2001-06-18 19:06:43 +00:00
parent bd6fd54608
commit 16c576b885
34 changed files with 288 additions and 49 deletions

View file

@ -45,7 +45,10 @@ void CNpcSawbladeHazard::processMovement( int _frames )
s16 headingToTarget = m_npcPath.think( Pos, &pathComplete, &waypointChange, &xDist, &yDist );
CSoundMediator::playSfx( CSoundMediator::SFX_SAW );
if ( m_soundId == NOT_PLAYING )
{
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SAW, true );
}
if ( !pathComplete )
{