hedgewars/uGearsHedgehog.pas
changeset 12436 031af5544333
parent 12327 9aa483762025
child 12468 3223ae85fba3
equal deleted inserted replaced
12435:c461a224ec09 12436:031af5544333
  1223 begin
  1223 begin
  1224 Hedgehog:= HHGear^.Hedgehog;
  1224 Hedgehog:= HHGear^.Hedgehog;
  1225 if not isInMultiShoot then
  1225 if not isInMultiShoot then
  1226     AllInactive:= false
  1226     AllInactive:= false
  1227 else if Hedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle] then
  1227 else if Hedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle] then
  1228     HHGear^.Message:= 0;
  1228     HHGear^.Message:= HHGear^.Message and gmPrecise;
  1229 
  1229 
  1230 if ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_Utility) <> 0) and isInMultiShoot then
  1230 if ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_Utility) <> 0) and isInMultiShoot then
  1231     AllInactive:= true
  1231     AllInactive:= true
  1232 else if not isInMultiShoot then
  1232 else if not isInMultiShoot then
  1233     AllInactive:= false;
  1233     AllInactive:= false;