diff --git a/source/platform/pbwheel.cpp b/source/platform/pbwheel.cpp index 4e1d134c9..721638852 100644 --- a/source/platform/pbwheel.cpp +++ b/source/platform/pbwheel.cpp @@ -66,7 +66,7 @@ void CNpcBigWheelPlatform::setWaypoints( sThingPlatform *ThisPlatform ) init( pivotPos ); - m_rotation = ratan2( abs( yDist ), abs( xDist ) ); + m_rotation = ratan2( yDist, xDist ); m_extension = isqrt2( ( xDist * xDist ) + ( yDist * yDist ) );