hedgewars/uGears.pas
branchicegun
changeset 8589 3bb505fc707e
parent 8576 286ebfcb3d97
parent 8562 d9d1cb650ff8
child 8632 b5ed76d2a1f9
equal deleted inserted replaced
8588:47084c6fcb4e 8589:3bb505fc707e
   441         end
   441         end
   442     end;
   442     end;
   443 
   443 
   444 if TurnTimeLeft > 0 then
   444 if TurnTimeLeft > 0 then
   445     if CurrentHedgehog^.Gear <> nil then
   445     if CurrentHedgehog^.Gear <> nil then
   446         if ((CurrentHedgehog^.Gear^.State and gstAttacking) = 0) then
   446         if ((CurrentHedgehog^.Gear^.State and gstAttacking) = 0) and 
       
   447             not(isInMultiShoot and (CurrentHedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle])) then
   447                 begin
   448                 begin
   448                 if (TurnTimeLeft = 5000)
   449                 if (TurnTimeLeft = 5000)
   449                 and (cHedgehogTurnTime >= 10000)
   450                 and (cHedgehogTurnTime >= 10000)
   450                 and (not PlacingHogs)
   451                 and (not PlacingHogs)
   451                 and (CurrentHedgehog^.Gear <> nil)
   452                 and (CurrentHedgehog^.Gear <> nil)