er... nevermind. back this out. ApplyDamage should pick this up just fine. default tip
authornemo
Thu, 12 Mar 2020 15:09:16 -0400
changeset 15550 0b16baefefd1
parent 15549 608b5de819a5
er... nevermind. back this out. ApplyDamage should pick this up just fine.
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Thu Mar 12 15:07:32 2020 -0400
+++ b/hedgewars/uGears.pas	Thu Mar 12 15:09:16 2020 -0400
@@ -177,7 +177,6 @@
             // Deal poison damage (when not frozen)
             if (Gear^.Hedgehog^.Effects[hePoisoned] <> 0) and (Gear^.Hedgehog^.Effects[heFrozen] = 0) then
                 begin
-				Gear^.Hedgehog^.Team^.Clan^.Flawless:= false;
                 inc(tmp, ModifyDamage(Gear^.Hedgehog^.Effects[hePoisoned], Gear));
                 if (GameFlags and gfResetHealth) <> 0 then
                     dec(Gear^.Hedgehog^.InitialHealth);