This commit is contained in:
Charles 2001-06-01 16:30:37 +00:00
parent 61308f18f6
commit 1ed6b3c05f
19 changed files with 60 additions and 13 deletions

View file

@ -104,7 +104,11 @@ void CNpcSeesawPlatform::processMovement( int _frames )
m_angularVelocity = 0;
}
m_currentAngle = newAngle;
if ( m_currentAngle != newAngle )
{
m_currentAngle = newAngle;
CSoundMediator::playSfx( CSoundMediator::SFX_WORLD_OBJECT__SEESAW );
}
setCollisionAngle( newAngle >> 8 );
}