From 35df5f4d116b40b32afd3e2d9e3a968b1ada700a Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 5 May 2001 15:49:29 +0000 Subject: [PATCH] --- source/platform/pbwheel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) );