hedgewars/uGearsHandlersMess.pas
changeset 10545 d347ffa7e372
parent 10544 37b0e1f92e3c
child 10547 cc439790ebae
--- a/hedgewars/uGearsHandlersMess.pas	Sun Nov 23 18:10:15 2014 -0500
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Nov 23 18:25:11 2014 -0500
@@ -3099,6 +3099,8 @@
                     dY:= -_450 * cGravity;
                     Active:= true;
                     end
+                else if Hedgehog^.Effects[heFrozen] > 255 then
+                    Hedgehog^.Effects[heFrozen]:= 255
         end ;
         AfterAttack;
         DeleteGear(Gear);