hedgewars/uGears.pas
branchwebgl
changeset 9136 78f087fd3e5b
parent 9127 e350500c4edb
child 9236 ddd675825672
equal deleted inserted replaced
9133:a269fe7090a0 9136:78f087fd3e5b
   440     end;
   440     end;
   441 
   441 
   442 if TurnTimeLeft > 0 then
   442 if TurnTimeLeft > 0 then
   443     if CurrentHedgehog^.Gear <> nil then
   443     if CurrentHedgehog^.Gear <> nil then
   444         if ((CurrentHedgehog^.Gear^.State and gstAttacking) = 0) and 
   444         if ((CurrentHedgehog^.Gear^.State and gstAttacking) = 0) and 
   445             (not(isInMultiShoot and (CurrentHedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle]))) then
   445             (not (isInMultiShoot and (CurrentHedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle]))) then
   446                 begin
   446                 begin
   447                 if (TurnTimeLeft = 5000)
   447                 if (TurnTimeLeft = 5000)
   448                 and (cHedgehogTurnTime >= 10000)
   448                 and (cHedgehogTurnTime >= 10000)
   449                 and (not PlacingHogs)
   449                 and (not PlacingHogs)
   450                 and (CurrentHedgehog^.Gear <> nil)
   450                 and (CurrentHedgehog^.Gear <> nil)