hedgewars/uGearsHedgehog.pas
changeset 12431 031af5544333
parent 12322 9aa483762025
child 12463 3223ae85fba3
equal deleted inserted replaced
12430:c461a224ec09 12431: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;