remove offset in seduction gear creation
authornemo
Sun, 07 Aug 2011 14:41:47 -0400
changeset 5526 70a5ec7b1020
parent 5525 5fb06333314e
child 5527 418741abd209
remove offset in seduction gear creation
hedgewars/HHHandlers.inc
hedgewars/uGearsRender.pas
--- a/hedgewars/HHHandlers.inc	Sun Aug 07 14:29:11 2011 -0400
+++ b/hedgewars/HHHandlers.inc	Sun Aug 07 14:41:47 2011 -0400
@@ -302,7 +302,7 @@
                                  end;
                        amKamikaze: newGear:= AddGear(hwRound(lx), hwRound(ly), gtKamikaze, 0, xx * _0_5, yy * _0_5, 0);
                          amCake: newGear:= AddGear(hwRound(lx) + hwSign(dX) * 3, hwRound(ly), gtCake, 0, xx, _0, 0);
-                    amSeduction: newGear:= AddGear(hwRound(lx + xx * cHHRadius * 2), hwRound(ly + yy * cHHRadius * 2), gtSeduction, 0, xx * _0_4, yy * _0_4, 0);
+                    amSeduction: newGear:= AddGear(hwRound(lx), hwRound(ly), gtSeduction, 0, _0, _0, 0);
                    amWatermelon: newGear:= AddGear(hwRound(lx), hwRound(ly), gtWatermelon,  0, newDx, newDy, CurWeapon^.Timer);
                   amHellishBomb: newGear:= AddGear(hwRound(lx), hwRound(ly), gtHellishBomb,    0, newDx, newDy, 0);
                         amDrill: newGear:= AddGear(hwRound(lx), hwRound(ly), gtDrill, 0, newDx, newDy, 0);
--- a/hedgewars/uGearsRender.pas	Sun Aug 07 14:29:11 2011 -0400
+++ b/hedgewars/uGearsRender.pas	Sun Aug 07 14:41:47 2011 -0400
@@ -602,7 +602,7 @@
                 amSMine: DrawRotated(sprHandSMine, hx, hy, sign, aangle);
                 amSeduction: begin
                              DrawRotated(sprHandSeduction, hx, hy, sign, aangle);
-                             DrawCircle(ox, oy, 240, 4, $FF, $00, $00, $AA); 
+                             DrawCircle(ox, oy, 248, 4, $FF, $00, $00, $AA); 
                              end;
                 amVampiric: DrawRotatedF(sprHandVamp, hx, hy, (RealTicks div 125) mod 4, sign, aangle);
                 amRCPlane: begin