changeset 1631 | 6e313b3818ef |
parent 1630 | 513a2c089160 |
child 1633 | c1de4078b0fd |
--- a/hedgewars/GSHandlers.inc Sat Jan 10 12:44:26 2009 +0000 +++ b/hedgewars/GSHandlers.inc Sat Jan 10 12:47:54 2009 +0000 @@ -1913,7 +1913,7 @@ begin rx:= rndSign(getRandom * _0_1); ry:= rndSign(getRandom * _0_1); - addfilelog('rx, ry = '+floattostr(rx)+', '+floattostr(ry)); + AddGear(hwRound(Gear^.X), hwRound(Gear^.Y), gtBall, 0, SignAs(AngleSin(HHGear^.Angle) * _0_8, HHGear^.dX) + rx, AngleCos(HHGear^.Angle) * ( - _0_8) + ry,