hedgewars/uGears.pas
changeset 8562 d9d1cb650ff8
parent 8492 67d2ad3b3ce9
child 8589 3bb505fc707e
equal deleted inserted replaced
8559:29e420194558 8562:d9d1cb650ff8
   440         end
   440         end
   441     end;
   441     end;
   442 
   442 
   443 if TurnTimeLeft > 0 then
   443 if TurnTimeLeft > 0 then
   444     if CurrentHedgehog^.Gear <> nil then
   444     if CurrentHedgehog^.Gear <> nil then
   445         if ((CurrentHedgehog^.Gear^.State and gstAttacking) = 0) then
   445         if ((CurrentHedgehog^.Gear^.State and gstAttacking) = 0) and 
       
   446             not(isInMultiShoot and (CurrentHedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle])) then
   446                 begin
   447                 begin
   447                 if (TurnTimeLeft = 5000)
   448                 if (TurnTimeLeft = 5000)
   448                 and (cHedgehogTurnTime >= 10000)
   449                 and (cHedgehogTurnTime >= 10000)
   449                 and (not PlacingHogs)
   450                 and (not PlacingHogs)
   450                 and (CurrentHedgehog^.Gear <> nil)
   451                 and (CurrentHedgehog^.Gear <> nil)