hedgewars/uGears.pas
changeset 11867 f6d33710baff
parent 11805 42c11b73f68e
child 11881 34ede05e4d4f
--- a/hedgewars/uGears.pas	Sun Oct 02 18:30:15 2016 +0200
+++ b/hedgewars/uGears.pas	Mon Oct 03 14:10:25 2016 -0400
@@ -125,7 +125,7 @@
         if Gear^.Kind = gtHedgehog then
             begin
             tmp:= 0;
-            if Gear^.Hedgehog^.Effects[hePoisoned] <> 0 then
+            if (Gear^.Hedgehog^.Effects[hePoisoned] <> 0) and (Gear^.Hedgehog^.Effects[heFrozen] = 0) then
                 begin
                 inc(tmp, ModifyDamage(Gear^.Hedgehog^.Effects[hePoisoned], Gear));
                 if (GameFlags and gfResetHealth) <> 0 then