author | nemo |
Fri, 11 Oct 2013 10:42:50 -0400 | |
changeset 9522 | a386e1cdc468 |
parent 9519 | b8b5c82eb61b |
child 9524 | 0a52c1dd9400 |
--- 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