hedgewars/GSHandlers.inc
branchwebgl
changeset 8850 ae8a957c69fd
parent 8847 ff7fbab7cd56
child 9127 e350500c4edb
--- a/hedgewars/GSHandlers.inc	Thu Apr 04 00:32:57 2013 +0200
+++ b/hedgewars/GSHandlers.inc	Thu Apr 04 01:38:30 2013 +0200
@@ -1233,7 +1233,7 @@
             Gear^.X := Gear^.X + Gear^.dX;
             Gear^.Y := Gear^.Y + _1_9;
             end;
-        SetAllHHToActive;
+        SetAllHHToActive(true);
         end;
     if TestCollisionYwithGear(Gear, 1) <> 0 then
         begin
@@ -2338,7 +2338,7 @@
     else
         begin
         DeleteCI(HHGear);
-        SetAllHHToActive;
+        SetAllHHToActive(true);
         Gear^.doStep := @doStepTeleportAnim;
 
   // copy old HH position and direction to Gear (because we need them for drawing the vanishing hog)
@@ -5207,14 +5207,14 @@
                     UpdateLandTexture(landRect.x, landRect.w, landRect.y, landRect.h, true);
 
                     // FillRoundInLandWithIce(Target.X, Target.Y, iceRadius);
-                    SetAllHHToActive;
+                    SetAllHHToActive(true);
                     Timer := iceWaitCollision;
                     end;
 
                 if (Timer = iceCollideWithWater) and ((GameTicks - Power) > groundFreezingTime) then
                     begin
                     DrawIceBreak(Target.X, cWaterLine - iceHeight, iceRadius, iceHeight);
-                    SetAllHHToActive;
+                    SetAllHHToActive(true);
                     Timer := iceWaitCollision;
                     end;