so unc0rr might replace this all. but anyway. fix copypasta.
--- a/hedgewars/uGearsHandlersRope.pas Sun Aug 26 10:15:28 2012 -0400
+++ b/hedgewars/uGearsHandlersRope.pas Sun Aug 26 20:20:16 2012 -0400
@@ -137,9 +137,9 @@
HHGear^.dY:= HHGear^.dY * 2
end;
if Gear^.Message and gmRight <> 0 then
- HHGear^.dX.isNegative:= true
+ HHGear^.dY.isNegative:= true
else if Gear^.Message and gmLeft <> 0 then
- HHGear^.dX.isNegative:= false
+ HHGear^.dY.isNegative:= false
end
else if TestCollisionXwithGear(HHGear, -1) and not TestCollisionXwithGear(HHGear, 1) then
begin
@@ -158,9 +158,9 @@
HHGear^.dY:= HHGear^.dY * 2
end;
if Gear^.Message and gmRight <> 0 then
- HHGear^.dX.isNegative:= false
+ HHGear^.dY.isNegative:= false
else if Gear^.Message and gmLeft <> 0 then
- HHGear^.dX.isNegative:= true
+ HHGear^.dY.isNegative:= true
end
end;