This commit is contained in:
parent
3fe34895ed
commit
35df5f4d11
1 changed files with 1 additions and 1 deletions
|
@ -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 ) );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue