remove 0 damage tag, easter hat fix, pink sun hat
authornemo
Sun, 17 May 2009 22:15:09 +0000
changeset 2074 b89ffff0528d
parent 2073 a735c41d97dc
child 2075 53399947c944
remove 0 damage tag, easter hat fix, pink sun hat
hedgewars/uGears.pas
share/hedgewars/Data/Graphics/Hats/eastertop.png
share/hedgewars/Data/Graphics/Hats/pinksunhat.png
--- a/hedgewars/uGears.pas	Sun May 17 18:02:21 2009 +0000
+++ b/hedgewars/uGears.pas	Sun May 17 22:15:09 2009 +0000
@@ -665,7 +665,7 @@
 var s: shortstring;
     vampDmg, tmpDmg: Longword;
 begin
-	if Gear^.Kind = gtHedgehog then
+	if (Gear^.Kind = gtHedgehog) and (Damage>=1) then
     begin
 	AddDamageTag(hwRound(Gear^.X), hwRound(Gear^.Y), Damage, PHedgehog(Gear^.Hedgehog)^.Team^.Clan^.Color);
     tmpDmg:= min(Damage, max(0,Gear^.Health-Gear^.Damage));
Binary file share/hedgewars/Data/Graphics/Hats/eastertop.png has changed
Binary file share/hedgewars/Data/Graphics/Hats/pinksunhat.png has changed