begin/end
authorsheepluva
Sun, 18 Jan 2015 20:59:37 +0100
changeset 10797 6458fd2f5636
parent 10796 f7cdca3ed697
child 10798 777084958f16
begin/end
hedgewars/uGearsHandlersMess.pas
--- a/hedgewars/uGearsHandlersMess.pas	Sun Jan 18 14:48:23 2015 -0500
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Jan 18 20:59:37 2015 +0100
@@ -1824,6 +1824,7 @@
         end;
 
     if ((Gear^.State and gsttmpFlag) <> 0) and (Gear^.Health <> 0) then
+        begin
         if ((Gear^.State and gstAttacking) = 0) then
             begin
             if ((GameTicks and $1F) = 0) then
@@ -1873,6 +1874,7 @@
                 end;
             dec(Gear^.Timer);
             end
+        end
     else // gsttmpFlag = 0
         if (TurnTimeLeft = 0)
         or ((GameFlags and gfInfAttack <> 0) and (GameTicks > Gear^.FlightTime))