This commit is contained in:
Charles 2001-07-18 21:13:54 +00:00
parent 60a89b15f4
commit 83997255bb
8 changed files with 9 additions and 9 deletions

View File

@ -117,7 +117,7 @@ void CNpcBouncingRockHazard::processMovement( int _frames )
if ( m_soundId == NOT_PLAYING ) if ( m_soundId == NOT_PLAYING )
{ {
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ROLLING_ROCK, true ); m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ROLLING_ROCK, true, true );
} }
bool pathComplete; bool pathComplete;

View File

@ -42,7 +42,7 @@ void CNpcCircularSawHazard::processMovement( int _frames )
if ( m_soundId == NOT_PLAYING ) if ( m_soundId == NOT_PLAYING )
{ {
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SAW, true ); m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SAW, true, true );
} }
} }

View File

@ -133,7 +133,7 @@ void CNpcDualPlatformBarrelHazard::processMovement( int _frames )
{ {
if ( m_soundId == NOT_PLAYING ) if ( m_soundId == NOT_PLAYING )
{ {
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ROLLING_ROCK, true ); m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ROLLING_ROCK, true, true );
} }
m_rotationDir = abs( moveX ) / moveX; m_rotationDir = abs( moveX ) / moveX;

View File

@ -114,7 +114,7 @@ void CNpcFireballHazard::processMovement( int _frames )
if ( m_soundId == NOT_PLAYING ) if ( m_soundId == NOT_PLAYING )
{ {
m_soundId = CSoundMediator::playSfx( CSoundMediator::SFX_HAZARD__FIREBALL_LAND, true ); m_soundId = CSoundMediator::playSfx( CSoundMediator::SFX_HAZARD__FIREBALL_LAND, true, true );
} }
return; return;
@ -137,7 +137,7 @@ void CNpcFireballHazard::processTimer( int _frames )
if ( m_soundId == NOT_PLAYING ) if ( m_soundId == NOT_PLAYING )
{ {
m_soundId = CSoundMediator::playSfx( CSoundMediator::SFX_HAZARD__FIREBALL_LAUNCH, true ); m_soundId = CSoundMediator::playSfx( CSoundMediator::SFX_HAZARD__FIREBALL_LAUNCH, true, true );
} }
} }
} }

View File

@ -42,7 +42,7 @@ void CNpcMowerHazard::processMovement( int _frames )
if ( m_soundId == NOT_PLAYING ) if ( m_soundId == NOT_PLAYING )
{ {
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SAW, true ); m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SAW, true, true );
} }
} }

View File

@ -61,7 +61,7 @@ void CNpcRockShardHazard::processMovement( int _frames )
if ( m_soundId == NOT_PLAYING ) if ( m_soundId == NOT_PLAYING )
{ {
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_HAZARD__STALACTITE_RATTLE, true ); m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_HAZARD__STALACTITE_RATTLE, true, true );
} }
} }
} }

View File

@ -66,7 +66,7 @@ void CNpcRollingRockHazard::processMovement( int _frames )
{ {
if ( m_soundId == NOT_PLAYING ) if ( m_soundId == NOT_PLAYING )
{ {
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ROLLING_ROCK, true ); m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ROLLING_ROCK, true, true );
} }
if ( distX ) if ( distX )

View File

@ -47,7 +47,7 @@ void CNpcSawbladeHazard::processMovement( int _frames )
if ( m_soundId == NOT_PLAYING ) if ( m_soundId == NOT_PLAYING )
{ {
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SAW, true ); m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SAW, true, true );
} }
if ( !pathComplete ) if ( !pathComplete )