# HG changeset patch # User nemo # Date 1345855424 14400 # Node ID 2c12b8cbd002a7ee3b775f2bfa42d9ad2554bc50 # Parent bbac3c0f0c68c00819bbd18cc8bc5070db759130 oops diff -r bbac3c0f0c68 -r 2c12b8cbd002 hedgewars/uGearsHandlersRope.pas --- 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;