This commit is contained in:
Charles 2001-05-02 16:46:38 +00:00
parent 927a17a31e
commit f93b1b284e

View file

@ -93,14 +93,14 @@ void CNpcSeesawPlatform::processMovement( int _frames )
s32 newAngle = m_currentAngle + m_angularVelocity; s32 newAngle = m_currentAngle + m_angularVelocity;
if ( newAngle > ( 512 << 8 ) ) if ( newAngle > ( 340 << 8 ) )
{ {
newAngle = 512 << 8; newAngle = 340 << 8;
m_angularVelocity = 0; m_angularVelocity = 0;
} }
else if ( newAngle < -( 512 << 8 ) ) else if ( newAngle < -( 340 << 8 ) )
{ {
newAngle = -( 512 << 8 ); newAngle = -( 340 << 8 );
m_angularVelocity = 0; m_angularVelocity = 0;
} }