This commit is contained in:
parent
26a332ba7e
commit
30c7f29957
1 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,11 @@ void CNpcFanHazard::processMovement( int _frames )
|
|||
{
|
||||
m_rotation += 256 * _frames;
|
||||
m_rotation &= 4095;
|
||||
|
||||
if ( m_soundId == NOT_PLAYING )
|
||||
{
|
||||
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ELECTRIC_FAN, true, true );
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Reference in a new issue