This commit is contained in:
parent
26a332ba7e
commit
30c7f29957
@ -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…
Reference in New Issue
Block a user