# HG changeset patch # User nemo # Date 1315158864 14400 # Node ID 8512b9758f679ebf799430f55dbe496703aabd5a # Parent c277657854a2b9718e8f0a104ebb5f8dda0a7a4b make pickhammer and blowtorch burn time for infinite attack mode diff -r c277657854a2 -r 8512b9758f67 hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Sun Sep 04 21:40:47 2011 +0400 +++ b/hedgewars/GSHandlers.inc Sun Sep 04 13:54:24 2011 -0400 @@ -1126,6 +1126,7 @@ AllInactive := false; HHGear := Gear^.Hedgehog^.Gear; dec(Gear^.Timer); + if ((GameFlags and gfInfAttack) <> 0) and (TurnTimeLeft > 0) then dec(TurnTimeLeft); if (Gear^.Timer = 0)or((Gear^.Message and gmDestroy) <> 0)or((HHGear^.State and gstHHDriven) = 0) then begin @@ -1235,6 +1236,8 @@ begin AllInactive := false; dec(Gear^.Timer); + if ((GameFlags and gfInfAttack) <> 0) and (TurnTimeLeft > 0) then dec(TurnTimeLeft); + HHGear := Gear^.Hedgehog^.Gear; HedgehogChAngle(HHGear);