author | nemo |
Fri, 12 Nov 2010 16:00:28 -0500 | |
changeset 4275 | 24137d2be956 |
parent 4272 | cf18de7ea3d4 |
child 4277 | d699d23a6e1d |
--- a/hedgewars/GSHandlers.inc Fri Nov 12 15:57:30 2010 -0500 +++ b/hedgewars/GSHandlers.inc Fri Nov 12 16:00:28 2010 -0500 @@ -4246,7 +4246,7 @@ if ((Gear^.Message and gmAttack) <> 0) and (hh^.Gear^.Health > 0) and (TurnTimeLeft > 0) then begin - if Length(graves) > Gear^.Tag then Gear^.Tag:= 0; + if Length(graves) >= Gear^.Tag then Gear^.Tag:= 0; dec(hh^.Gear^.Health); if (hh^.Gear^.Health = 0) and (hh^.Gear^.Damage = 0) then hh^.Gear^.Damage:= 1;