This commit is contained in:
parent
60a89b15f4
commit
83997255bb
8 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 )
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Add table
Reference in a new issue