hedgewars/uGears.pas
changeset 11918 9da78300c5d0
parent 11916 38fa4583e7f3
child 11921 b1782491f19c
equal deleted inserted replaced
11917:d819c04d0cbe 11918:9da78300c5d0
  1060 begin
  1060 begin
  1061     IsClockRunning :=
  1061     IsClockRunning :=
  1062     (CurrentHedgehog^.Gear <> nil)
  1062     (CurrentHedgehog^.Gear <> nil)
  1063     and (((CurrentHedgehog^.Gear^.State and gstAttacking) = 0)
  1063     and (((CurrentHedgehog^.Gear^.State and gstAttacking) = 0)
  1064     or (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttacking <> 0)
  1064     or (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttacking <> 0)
  1065     or ((GameFlags and gfInfAttack) <> 0) and (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttackingInInfAttackMode <> 0))
  1065     or ((GameFlags and gfInfAttack) <> 0) and (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttackingInInfAttackMode <> 0)
       
  1066     or (CurrentHedgehog^.CurAmmoType = amSniperRifle))
  1066     and (not(isInMultiShoot and ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerInMultiShoot) <> 0)));
  1067     and (not(isInMultiShoot and ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerInMultiShoot) <> 0)));
  1067 end;
  1068 end;
  1068 
  1069 
  1069 
  1070 
  1070 procedure chSkip(var s: shortstring);
  1071 procedure chSkip(var s: shortstring);