don't resurrect frozen
authornemo
Mon, 27 May 2013 16:56:44 -0400
changeset 9064 041d9f5e7b2c
parent 9063 5cab446e1341
child 9065 236710128077
don't resurrect frozen
hedgewars/uGearsHedgehog.pas
--- a/hedgewars/uGearsHedgehog.pas	Tue May 28 00:01:58 2013 +0400
+++ b/hedgewars/uGearsHedgehog.pas	Mon May 27 16:56:44 2013 -0400
@@ -561,6 +561,7 @@
     end
 else if Gear^.Timer = 1 then
     begin
+    Gear^.Hedgehog^.Effects[heFrozen]:= 0;
     Gear^.State:= Gear^.State or gstNoDamage;
     doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 30, CurrentHedgehog, EXPLAutoSound);
     AddGear(hwRound(Gear^.X), hwRound(Gear^.Y), gtGrave, 0, _0, _0, 0)^.Hedgehog:= Gear^.Hedgehog;