hedgewars/uGearsHandlersMess.pas
changeset 11915 16ce211010cf
parent 11911 6145efcff302
child 11918 9da78300c5d0
--- a/hedgewars/uGearsHandlersMess.pas	Sat Nov 19 15:00:14 2016 +0100
+++ b/hedgewars/uGearsHandlersMess.pas	Sat Apr 30 23:30:34 2016 +0200
@@ -1461,8 +1461,6 @@
     WorldWrap(Gear);
     HHGear := Gear^.Hedgehog^.Gear;
     dec(Gear^.Timer);
-    if ((GameFlags and gfInfAttack) <> 0) and (TurnTimeLeft > 0) then
-        dec(TurnTimeLeft);
     if (TurnTimeLeft = 0) or (Gear^.Timer = 0)
     or((Gear^.Message and gmDestroy) <> 0)
     or((HHGear^.State and gstHHDriven) =0) then
@@ -1589,8 +1587,6 @@
     AllInactive := false;
     WorldWrap(Gear);
     dec(Gear^.Timer);
-    if ((GameFlags and gfInfAttack) <> 0) and (TurnTimeLeft > 0) then
-        dec(TurnTimeLeft);
 
     if Gear^.Hedgehog^.Gear = nil then
         begin