This commit is contained in:
Charles 2001-05-14 21:57:11 +00:00
parent 983fd7f27e
commit 297cce9964

View File

@ -176,6 +176,17 @@ void CNpcBranchPlatform::processMovement( int _frames )
m_angularVelocity += angularForce;
}
else if ( ( getRnd() % 50 ) == 0 )
{
s16 angularForce = 6 * _frames;
if ( m_reversed )
{
angularForce = -angularForce;
}
m_angularVelocity += angularForce;
}
s32 resistance = -( 5 * _frames * newAngle ) >> 8;