hedgewars/uGearsHedgehog.pas
changeset 7956 61da79e83330
parent 7832 0bd39a4b1a65
child 8003 7d8bce524daf
equal deleted inserted replaced
7952:e3ffeb3d9389 7956:61da79e83330
  1058             Attack(HHGear);
  1058             Attack(HHGear);
  1059             HHGear^.Message:= HHGear^.Message and (not gmLJump)
  1059             HHGear^.Message:= HHGear^.Message and (not gmLJump)
  1060             end;
  1060             end;
  1061 
  1061 
  1062 if (CurAmmoGear = nil)
  1062 if (CurAmmoGear = nil)
  1063 or ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0) 
  1063 or ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0)  then
  1064 or ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_NoRoundEnd) <> 0) then
       
  1065     begin
  1064     begin
  1066     if ((HHGear^.Message and gmSlot) <> 0) then
  1065     if ((HHGear^.Message and gmSlot) <> 0) then
  1067         if ChangeAmmo(HHGear) then ApplyAmmoChanges(Hedgehog^);
  1066         if ChangeAmmo(HHGear) then ApplyAmmoChanges(Hedgehog^);
  1068 
  1067 
  1069     if ((HHGear^.Message and gmWeapon) <> 0) then
  1068     if ((HHGear^.Message and gmWeapon) <> 0) then