--- a/hedgewars/uGearsHandlersRope.pas Fri Aug 24 19:55:43 2012 -0400
+++ b/hedgewars/uGearsHandlersRope.pas Fri Aug 24 20:43:44 2012 -0400
@@ -172,7 +172,7 @@
if TestCollisionXwithGear(HHGear, hwSign(HHGear^.dX)) and not TestCollisionXwithGear(HHGear, hwSign(HHGear^.dX)) then
HHGear^.dX.isNegative:= not HHGear^.dX.isNegative;
if (TestCollisionYwithGear(HHGear, hwSign(HHGear^.dY)) <> 0) and (TestCollisionYwithGear(HHGear, -hwSign(HHGear^.dY)) = 0) then
- HHGear^.dY.isNegative:= not HHGear^.dX.isNegative;
+ HHGear^.dY.isNegative:= not HHGear^.dY.isNegative;
end;
mdX := ropeDx + HHGear^.dX;