changeset 9522 | a386e1cdc468 |
parent 9489 | 0818d14e90be |
child 9557 | a5005b7ca305 |
--- a/hedgewars/uGearsUtils.pas Fri Oct 11 00:07:23 2013 +0200 +++ b/hedgewars/uGearsUtils.pas Fri Oct 11 10:42:50 2013 -0400 @@ -1254,7 +1254,7 @@ Gear^.X:= int2hwFloat(PlayWidth)*int2hwFloat(min(max(0,hwRound(Gear^.Y)),PlayHeight))/PlayHeight; Gear^.Y:= int2hwFloat(cWaterLine+cVisibleWater+Gear^.Radius*2); tdx:= Gear^.dX; - Gear^.dX:= Gear^.dY; + Gear^.dX:= -Gear^.dY; Gear^.dY:= tdx; Gear^.dY.isNegative:= true end