hedgewars/uGears.pas
changeset 10012 82dd9f0c88f7
parent 9998 736015b847e3
child 10015 4feced261c68
--- a/hedgewars/uGears.pas	Fri Jan 17 16:13:10 2014 -0500
+++ b/hedgewars/uGears.pas	Sat Jan 18 08:09:55 2014 -0500
@@ -127,7 +127,7 @@
             tmp:= 0;
             if Gear^.Hedgehog^.Effects[hePoisoned] <> 0 then
                 begin
-                inc(tmp, ModifyDamage(5, Gear));
+                inc(tmp, ModifyDamage(Gear^.Hedgehog^.Effects[hePoisoned], Gear));
                 if (GameFlags and gfResetHealth) <> 0 then
                     dec(Gear^.Hedgehog^.InitialHealth)  // does not need a minimum check since <= 1 basically disables it
                 end;