# HG changeset patch
# User unc0rr
# Date 1208540570 0
# Node ID b31b72756927b30745636931691e4dfe621dff4b
# Parent  66970c0ed3aa0b4b14b05df559d4679544712a37
Fix a warning

diff -r 66970c0ed3aa -r b31b72756927 hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Thu Apr 17 16:21:44 2008 +0000
+++ b/hedgewars/uGears.pas	Fri Apr 18 17:42:50 2008 +0000
@@ -705,7 +705,7 @@
      gtSmallDamage: if Gear^.Tex <> nil then DrawCentered(hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, Gear^.Tex);
            gtGrave: DrawSurfSprite(hwRound(Gear^.X) + WorldDx - 16, hwRound(Gear^.Y) + WorldDy - 16, 32, (GameTicks shr 7) and 7, PHedgehog(Gear^.Hedgehog)^.Team^.GraveTex);
              gtUFO: DrawSprite(sprUFO, hwRound(Gear^.X) - 16 + WorldDx, hwRound(Gear^.Y) - 16 + WorldDy, (GameTicks shr 7) mod 4);
-      gtPickHammer: DrawSprite(sprPHammer, hwRound(Gear^.X) - 16 +  WorldDx, hwRound(Gear^.Y) - 50 + ((GameTicks shr 5) and 1) * 2 + WorldDy, 0);
+      gtPickHammer: DrawSprite(sprPHammer, hwRound(Gear^.X) - 16 + WorldDx, hwRound(Gear^.Y) - 50 + LongInt(((GameTicks shr 5) and 1) * 2) + WorldDy, 0);
             gtRope: begin
                     roplen:= 0;
                     if RopePoints.Count > 0 then