hedgewars/uGears.pas
changeset 14394 d670e4efe1ed
parent 14349 d35e0fdb70f6
child 14398 87562a68c41f
equal deleted inserted replaced
14393:c2cd3f64b9f7 14394:d670e4efe1ed
  1145     (CurrentHedgehog^.Gear <> nil)
  1145     (CurrentHedgehog^.Gear <> nil)
  1146     and (((CurrentHedgehog^.Gear^.State and gstAttacking) = 0)
  1146     and (((CurrentHedgehog^.Gear^.State and gstAttacking) = 0)
  1147     or (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttacking <> 0)
  1147     or (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttacking <> 0)
  1148     or ((GameFlags and gfInfAttack) <> 0) and (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttackingInInfAttackMode <> 0)
  1148     or ((GameFlags and gfInfAttack) <> 0) and (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttackingInInfAttackMode <> 0)
  1149     or (CurrentHedgehog^.CurAmmoType = amSniperRifle))
  1149     or (CurrentHedgehog^.CurAmmoType = amSniperRifle))
  1150     and (not(isInMultiShoot and ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerInMultiShoot) <> 0)));
  1150     and (not(isInMultiShoot and ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerInMultiShoot) <> 0)))
       
  1151     and (not LuaClockPaused);
  1151 end;
  1152 end;
  1152 
  1153 
  1153 
  1154 
  1154 procedure chSkip(var s: shortstring);
  1155 procedure chSkip(var s: shortstring);
  1155 begin
  1156 begin