hedgewars/uTeams.pas
changeset 10193 d7cd5b43588f
parent 10124 aabd1b75d5a3
child 10343 fe9853dea6c4
--- a/hedgewars/uTeams.pas	Tue Mar 11 22:49:01 2014 -0400
+++ b/hedgewars/uTeams.pas	Wed Mar 12 22:40:49 2014 -0400
@@ -156,7 +156,7 @@
             if c > cMaxHHIndex then
                 c:= 0
             end
-        until (c = CurrHedgehog) or (Hedgehogs[c].Gear <> nil);
+        until (c = CurrHedgehog) or (Hedgehogs[c].Gear <> nil) and (Hedgehogs[c].Effects[heFrozen] < 50255);
         LocalAmmo:= Hedgehogs[c].AmmoStore
         end;