# HG changeset patch
# User unc0rr
# Date 1213813531 0
# Node ID b1f335aed35a1486a9f14441c03a25e138361688
# Parent  38bb05efd774baed39b2c2529ef8540550f33445
Update first aid animation

diff -r 38bb05efd774 -r b1f335aed35a hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Wed Jun 18 18:12:45 2008 +0000
+++ b/hedgewars/uGears.pas	Wed Jun 18 18:25:31 2008 +0000
@@ -872,7 +872,11 @@
                        else DrawRotated(sprMineOn, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, 0, Gear^.DirAngle);
             gtCase: case Gear^.Pos of
                          posCaseAmmo  : DrawSprite(sprCase, hwRound(Gear^.X) - 16 + WorldDx, hwRound(Gear^.Y) - 16 + WorldDy, 0);
-                         posCaseHealth: DrawSprite(sprFAid, hwRound(Gear^.X) - 24 + WorldDx, hwRound(Gear^.Y) - 24 + WorldDy, (GameTicks shr 6) mod 13);
+                         posCaseHealth: begin
+                                        i:= (GameTicks shr 6) mod 64;
+                                        if i > 12 then i:= 0;
+                                        DrawSprite(sprFAid, hwRound(Gear^.X) - 24 + WorldDx, hwRound(Gear^.Y) - 24 + WorldDy, i);
+                                        end;
                          end;
         gtDynamite: DrawSprite2(sprDynamite, hwRound(Gear^.X) - 16 + WorldDx, hwRound(Gear^.Y) - 25 + WorldDy, Gear^.Tag and 1, Gear^.Tag shr 1);
      gtClusterBomb: DrawRotated(sprClusterBomb, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, 0, Gear^.DirAngle);
diff -r 38bb05efd774 -r b1f335aed35a share/hedgewars/Data/Graphics/FirstAid.png
Binary file share/hedgewars/Data/Graphics/FirstAid.png has changed