oops
authornemo
Fri, 24 Aug 2012 20:43:44 -0400
changeset 7596 2c12b8cbd002
parent 7595 bbac3c0f0c68
child 7597 1ef520fea21c
oops
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;