hedgewars/HHHandlers.inc
changeset 3837 47a623d9cdaa
parent 3836 833c0f32e326
child 3842 fc94291ca1d9
equal deleted inserted replaced
3836:833c0f32e326 3837:47a623d9cdaa
   772             Gear^.Message:= Gear^.Message and not gm_LJump;
   772             Gear^.Message:= Gear^.Message and not gm_LJump;
   773             Attack(Gear)
   773             Attack(Gear)
   774             end;
   774             end;
   775 
   775 
   776 if (CurAmmoGear = nil)
   776 if (CurAmmoGear = nil)
   777     or ((Ammoz[Hedgehog^.CurAmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0) then
   777     or ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0) then
   778     begin
   778     begin
   779     if ((Gear^.Message and gm_Slot) <> 0) then
   779     if ((Gear^.Message and gm_Slot) <> 0) then
   780         begin
   780         begin
   781         ChangeAmmo(Gear);
   781         ChangeAmmo(Gear);
   782         ApplyAmmoChanges(Hedgehog^)
   782         ApplyAmmoChanges(Hedgehog^)