hedgewars/GSHandlers.inc
changeset 9073 6cffcbef02e4
parent 9072 e7bcdf4f492f
child 9076 6ae43e121882
--- a/hedgewars/GSHandlers.inc	Tue May 28 21:30:02 2013 -0400
+++ b/hedgewars/GSHandlers.inc	Wed May 29 10:43:40 2013 +0200
@@ -5284,7 +5284,10 @@
                                 if hogs.ar^[i]^.Hedgehog^.Effects[heFrozen] < 256 then
                                     hogs.ar^[i]^.Hedgehog^.Effects[heFrozen] := hogs.ar^[i]^.Hedgehog^.Effects[heFrozen] + 1
                                 else if hogs.ar^[i]^.Hedgehog^.Effects[heFrozen] = 256 then
+                                    begin
                                     hogs.ar^[i]^.Hedgehog^.Effects[heFrozen]:= 200000-1;//cHedgehogTurnTime + cReadyDelay
+                                    PlaySound(sndHogFreeze);
+                                    end;
                                 end;
                 inc(Pos)
                 end