oh yeah, dY...
--- a/hedgewars/GSHandlers.inc Wed Mar 14 21:12:04 2012 -0400
+++ b/hedgewars/GSHandlers.inc Wed Mar 14 23:58:56 2012 -0400
@@ -4284,7 +4284,10 @@
resetdy:=hwAbs(iterator^.dX*4);
resetdy:= resetdy + hwPow(resetdy,3)/_6 + _3 * hwPow(resetdy,5) / _40 + _5 * hwPow(resetdy,7) / resety + resetx * hwPow(resetdy,9) / resetdx;
- iterator^.Angle:= hwRound(resetdy*_2048 / _PI)
+ iterator^.Angle:= hwRound(resetdy*_2048 / _PI);
+ if not iterator^.dY.isNegative then iterator^.Angle:= 2048-iterator^.Angle;
+ if iterator^.dX.isNegative then iterator^.Angle:= 4096-iterator^.Angle;
+
end;
if (CurrentHedgehog <> nil) and (CurrentHedgehog^.Gear <> nil)