From 30c7f2995757e4835a38e62bf74a49c6cdba9a5c Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 24 Jul 2001 19:10:29 +0000 Subject: [PATCH] --- source/hazard/hfan.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/hazard/hfan.cpp b/source/hazard/hfan.cpp index e8ec01485..b8e32b5e9 100644 --- a/source/hazard/hfan.cpp +++ b/source/hazard/hfan.cpp @@ -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 ); + } } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////