er... nevermind. back this out. ApplyDamage should pick this up just fine.
authornemo
Thu, 12 Mar 2020 15:09:16 -0400
changeset 15572 0b16baefefd1
parent 15571 608b5de819a5
child 15573 7478568cffbe
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);