This commit is contained in:
Charles 2001-05-05 15:49:29 +00:00
parent 3fe34895ed
commit 35df5f4d11

View file

@ -66,7 +66,7 @@ void CNpcBigWheelPlatform::setWaypoints( sThingPlatform *ThisPlatform )
init( pivotPos ); init( pivotPos );
m_rotation = ratan2( abs( yDist ), abs( xDist ) ); m_rotation = ratan2( yDist, xDist );
m_extension = isqrt2( ( xDist * xDist ) + ( yDist * yDist ) ); m_extension = isqrt2( ( xDist * xDist ) + ( yDist * yDist ) );