This commit is contained in:
Charles 2001-07-24 20:35:40 +00:00
parent dcbf6b1144
commit 46054ce151
5 changed files with 14 additions and 0 deletions

View file

@ -123,6 +123,13 @@ void CNpcRisingWeightHazard::processMovement( int _frames )
{ {
m_extension = m_maxExtension; m_extension = m_maxExtension;
} }
else
{
if ( m_soundId == NOT_PLAYING )
{
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_PULLEY, true, true );
}
}
} }
else else
{ {
@ -132,6 +139,13 @@ void CNpcRisingWeightHazard::processMovement( int _frames )
{ {
m_extension = 0; m_extension = 0;
} }
else
{
if ( m_soundId == NOT_PLAYING )
{
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_PULLEY, true, true );
}
}
} }
Pos.vy = m_base.vy - ( m_extension >> 8 ); Pos.vy = m_base.vy - ( m_extension >> 8 );