changeset 3254 | eb1382353361 |
parent 3236 | 4ab3917d7d44 |
child 3255 | 6d6f4241debe |
--- a/hedgewars/uGears.pas Fri Apr 02 15:30:54 2010 +0000 +++ b/hedgewars/uGears.pas Fri Apr 02 15:33:11 2010 +0000 @@ -592,7 +592,7 @@ begin if PHedgehog(Gear^.Hedgehog)^.Effects[hePoisoned] then begin - inc(Gear^.Damage, min(5, max(0,Gear^.Health - 1 - Gear^.Damage))); + inc(Gear^.Damage, min(ModifyDamage(5,Gear), max(0,Gear^.Health - 1 - Gear^.Damage))); if getRandom(2) = 0 then PlaySound(sndPoisonCough, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack) else