From 83997255bb4dfe45e03df180f8c7021f0f2738c2 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 18 Jul 2001 21:13:54 +0000 Subject: [PATCH] --- source/hazard/hbrock.cpp | 2 +- source/hazard/hcsaw.cpp | 2 +- source/hazard/hdbarrel.cpp | 2 +- source/hazard/hfirebal.cpp | 4 ++-- source/hazard/hmower.cpp | 2 +- source/hazard/hrckshrd.cpp | 2 +- source/hazard/hrrock.cpp | 2 +- source/hazard/hsaw.cpp | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/source/hazard/hbrock.cpp b/source/hazard/hbrock.cpp index 209767475..fbe1848be 100644 --- a/source/hazard/hbrock.cpp +++ b/source/hazard/hbrock.cpp @@ -117,7 +117,7 @@ void CNpcBouncingRockHazard::processMovement( int _frames ) 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; diff --git a/source/hazard/hcsaw.cpp b/source/hazard/hcsaw.cpp index 257007024..899d2bdad 100644 --- a/source/hazard/hcsaw.cpp +++ b/source/hazard/hcsaw.cpp @@ -42,7 +42,7 @@ void CNpcCircularSawHazard::processMovement( int _frames ) if ( m_soundId == NOT_PLAYING ) { - m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SAW, true ); + m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SAW, true, true ); } } diff --git a/source/hazard/hdbarrel.cpp b/source/hazard/hdbarrel.cpp index 5db0eca0b..2185de611 100644 --- a/source/hazard/hdbarrel.cpp +++ b/source/hazard/hdbarrel.cpp @@ -133,7 +133,7 @@ void CNpcDualPlatformBarrelHazard::processMovement( int _frames ) { 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; diff --git a/source/hazard/hfirebal.cpp b/source/hazard/hfirebal.cpp index b9613f5e8..ccf3eaf04 100644 --- a/source/hazard/hfirebal.cpp +++ b/source/hazard/hfirebal.cpp @@ -114,7 +114,7 @@ void CNpcFireballHazard::processMovement( int _frames ) 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; @@ -137,7 +137,7 @@ void CNpcFireballHazard::processTimer( int _frames ) 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 ); } } } diff --git a/source/hazard/hmower.cpp b/source/hazard/hmower.cpp index 74c8b4f74..ec13cc670 100644 --- a/source/hazard/hmower.cpp +++ b/source/hazard/hmower.cpp @@ -42,7 +42,7 @@ void CNpcMowerHazard::processMovement( int _frames ) if ( m_soundId == NOT_PLAYING ) { - m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SAW, true ); + m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SAW, true, true ); } } diff --git a/source/hazard/hrckshrd.cpp b/source/hazard/hrckshrd.cpp index 1f2b3b4ba..7bb54e799 100644 --- a/source/hazard/hrckshrd.cpp +++ b/source/hazard/hrckshrd.cpp @@ -61,7 +61,7 @@ void CNpcRockShardHazard::processMovement( int _frames ) 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 ); } } } diff --git a/source/hazard/hrrock.cpp b/source/hazard/hrrock.cpp index a7de3faad..8a3eb2baa 100644 --- a/source/hazard/hrrock.cpp +++ b/source/hazard/hrrock.cpp @@ -66,7 +66,7 @@ void CNpcRollingRockHazard::processMovement( int _frames ) { 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 ) diff --git a/source/hazard/hsaw.cpp b/source/hazard/hsaw.cpp index 1879b2c99..ae8148413 100644 --- a/source/hazard/hsaw.cpp +++ b/source/hazard/hsaw.cpp @@ -47,7 +47,7 @@ void CNpcSawbladeHazard::processMovement( int _frames ) 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 )