hedgewars/uGears.pas
changeset 15065 39067b45d0fc
parent 15064 96244def1cc0
child 15107 b4a0dc4e85e8
equal deleted inserted replaced
15064:96244def1cc0 15065:39067b45d0fc
  1263     (CurrentHedgehog^.Gear <> nil)
  1263     (CurrentHedgehog^.Gear <> nil)
  1264     and (((CurrentHedgehog^.Gear^.State and gstAttacking) = 0)
  1264     and (((CurrentHedgehog^.Gear^.State and gstAttacking) = 0)
  1265     or (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttacking <> 0)
  1265     or (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttacking <> 0)
  1266     or ((GameFlags and gfInfAttack) <> 0) and (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttackingInInfAttackMode <> 0)
  1266     or ((GameFlags and gfInfAttack) <> 0) and (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttackingInInfAttackMode <> 0)
  1267     or (CurrentHedgehog^.CurAmmoType = amSniperRifle))
  1267     or (CurrentHedgehog^.CurAmmoType = amSniperRifle))
  1268     and (not(isInMultiShoot and ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerInMultiShoot) <> 0) and ((GameFlags and gfInfAttack) = 0)))
  1268     and (not(isInMultiShoot and ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerInMultiShoot) <> 0)))
  1269     and (not LuaClockPaused);
  1269     and (not LuaClockPaused);
  1270 end;
  1270 end;
  1271 
  1271 
  1272 
  1272 
  1273 procedure chSkip(var s: shortstring);
  1273 procedure chSkip(var s: shortstring);