hedgewars/uGears.pas
changeset 8632 b5ed76d2a1f9
parent 8589 3bb505fc707e
child 8817 0d3014097240
child 8833 c13ebed437cb
child 9080 9b42757d7e71
--- a/hedgewars/uGears.pas	Sun Mar 03 14:58:58 2013 -0500
+++ b/hedgewars/uGears.pas	Sun Mar 03 19:43:01 2013 -0500
@@ -838,7 +838,7 @@
                 ApplyDamage(Gear, Ammo^.Hedgehog, tmpDmg * 100, dsUnknown); // crank up damage for explosives + blowtorch
                 end;
 
-            if (Gear^.Kind = gtHedgehog) and Gear^.Hedgehog^.King then
+            if (Gear^.Kind = gtHedgehog) and (Gear^.Hedgehog^.King or (Gear^.Hedgehog^.Effects[heFrozen] > 0)) then
                 begin
                 Gear^.dX:= Ammo^.dX * Power * _0_005;
                 Gear^.dY:= Ammo^.dY * Power * _0_005