# HG changeset patch # User sheepluva # Date 1363874487 -3600 # Node ID 988901d27abf25dcb3d08720f302a63d03b6b470 # Parent 534e30885b6667d45316747d52adbb9ca4fbe8bf don't poison the dead, it's not cool. (poisoning hogs during their death animation would cause them to still be poisoned after resurrect) thanks to CheezeMonkey for pointing this out diff -r 534e30885b66 -r 988901d27abf hedgewars/uGearsUtils.pas --- a/hedgewars/uGearsUtils.pas Thu Mar 21 11:51:13 2013 +0100 +++ b/hedgewars/uGearsUtils.pas Thu Mar 21 15:01:27 2013 +0100 @@ -137,7 +137,7 @@ Gear^.Active:= true; if Gear^.Kind <> gtFlame then FollowGear:= Gear end; - if ((Mask and EXPLPoisoned) <> 0) and (Gear^.Kind = gtHedgehog) and (not Gear^.Invulnerable) then + if ((Mask and EXPLPoisoned) <> 0) and (Gear^.Kind = gtHedgehog) and (not Gear^.Invulnerable) and ((Gear^.State and gstHHDeath) = 0) then Gear^.Hedgehog^.Effects[hePoisoned] := 1; end;