This commit is contained in:
parent
bd6fd54608
commit
16c576b885
34 changed files with 288 additions and 49 deletions
|
@ -40,7 +40,10 @@ void CNpcMowerHazard::processMovement( int _frames )
|
|||
m_rotation += 256 * _frames;
|
||||
m_rotation &= 4095;
|
||||
|
||||
CSoundMediator::playSfx( CSoundMediator::SFX_SAW );
|
||||
if ( m_soundId == NOT_PLAYING )
|
||||
{
|
||||
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SAW, true );
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue