fix of offsets and size to prior commits
authoralfadur+copherneue
Sun, 15 Jan 2017 15:11:07 -0500
changeset 12125 1aae30470fa3
parent 12124 3374e0f67f39
child 12126 1dbdf05b01ee
fix of offsets and size to prior commits
hedgewars/uGearsHandlersMess.pas
hedgewars/uGearsRender.pas
share/hedgewars/Data/Graphics/Hedgehog/amBaseball.png
--- a/hedgewars/uGearsHandlersMess.pas	Sun Jan 15 12:50:27 2017 -0500
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Jan 15 15:11:07 2017 -0500
@@ -2308,7 +2308,7 @@
         Gear^.Timer := 100
         end;
 
-    if Gear^.Tag = 5 then
+    if Gear^.Tag = 4 then
         begin
         HHGear := Gear^.Hedgehog^.Gear;
         HHGear^.State := HHGear^.State or gstNoDamage;
--- a/hedgewars/uGearsRender.pas	Sun Jan 15 12:50:27 2017 -0500
+++ b/hedgewars/uGearsRender.pas	Sun Jan 15 15:11:07 2017 -0500
@@ -847,7 +847,7 @@
             case amt of
                 amBaseballBat: DrawSpritePivotedF(sprHandBaseball,
                         sx + 9 * sign,
-                        sy - 6, 0, sign, -8, 9, aangle);
+                        sy + 2, 0, sign, -8, 1, aangle);
             end;
 
             defaultPos:= false
@@ -1045,7 +1045,7 @@
                             DrawTextureCentered(sx, sy - 40, CurAmmoGear^.Tex);
                         DrawAltWeapon(Gear, sx, sy)
                         end;
-                gtShover: DrawSpritePivotedF(sprHandBaseball, sx + 9 * sign, sy - 6, CurAmmoGear^.Tag, sign, -8, 9, aangle);
+                gtShover: DrawSpritePivotedF(sprHandBaseball, sx + 9 * sign, sy + 2, CurAmmoGear^.Tag, sign, -8, 1, aangle);
                 end;
             end
         end;
Binary file share/hedgewars/Data/Graphics/Hedgehog/amBaseball.png has changed