# HG changeset patch # User Henek # Date 1308697478 -7200 # Node ID ffc1475a4afd3eb07a172433b20fb41d87cc36b8 # Parent af4dc03dd60d8bb6ec37d8d2bfaa9c2eebf33e73 fixed gfInfAttack preventing ending of turn while placing hedgehogs diff -r af4dc03dd60d -r ffc1475a4afd hedgewars/HHHandlers.inc --- a/hedgewars/HHHandlers.inc Tue Jun 21 18:28:34 2011 -0400 +++ b/hedgewars/HHHandlers.inc Wed Jun 22 01:04:38 2011 +0200 @@ -380,7 +380,7 @@ else begin OnUsedAmmo(CurrentHedgehog^); - if ((Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) = 0) and ((GameFlags and gfInfAttack) = 0) then + if ((Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) = 0) and (((GameFlags and gfInfAttack) = 0) or PlacingHogs) then begin if TagTurnTimeLeft = 0 then TagTurnTimeLeft:= TurnTimeLeft; TurnTimeLeft:=(Ammoz[a].TimeAfterTurn * cGetAwayTime) div 100;