clear poison on death
authornemo
Sat, 30 Oct 2010 10:58:53 -0400
changeset 4020 898a55b81d10
parent 4019 f2202355e5f6
child 4021 014325c23705
clear poison on death
hedgewars/HHHandlers.inc
--- a/hedgewars/HHHandlers.inc	Sat Oct 30 11:31:47 2010 +0200
+++ b/hedgewars/HHHandlers.inc	Sat Oct 30 10:58:53 2010 -0400
@@ -879,6 +879,7 @@
 
         if not PHedgehog(Gear^.Hedgehog)^.Team^.hasGone then
             begin
+            PHedgehog(Gear^.Hedgehog)^.Effects[hePoisoned] := false;
             if PHedgehog(Gear^.Hedgehog)^.Effects[heResurrectable] then begin
                 ResurrectHedgehog(Gear);
             end else begin