hedgewars/uGearsHedgehog.pas
branchicegun
changeset 8560 134a098235fa
parent 8557 18330b24b92c
child 8563 4d9d8287e601
--- a/hedgewars/uGearsHedgehog.pas	Sun Feb 24 21:40:06 2013 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Sun Feb 24 21:44:40 2013 -0500
@@ -695,6 +695,7 @@
 var PrevdX: LongInt;
     CurWeapon: PAmmo;
 begin
+if Gear^.Hedgehog^.Effects[heFrozen] > 0 then exit;
 CurWeapon:= GetCurAmmoEntry(Gear^.Hedgehog^);
 if ((Gear^.State and (gstAttacking or gstMoving)) = 0) then
     begin