hedgewars/uGearsHedgehog.pas
changeset 8493 1a84f8b08ca7
parent 8492 67d2ad3b3ce9
child 8494 53b91a602955
equal deleted inserted replaced
8492:67d2ad3b3ce9 8493:1a84f8b08ca7
   453 
   453 
   454             Power:= 0;
   454             Power:= 0;
   455             if (CurAmmoGear <> nil)
   455             if (CurAmmoGear <> nil)
   456                 and ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_AltUse) = 0){check for dropping ammo from rope} then
   456                 and ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_AltUse) = 0){check for dropping ammo from rope} then
   457                 begin
   457                 begin
   458                 //Message:= Message or gmAttack;
   458                 if CurAmmoType = amRope then Message:= Message or gmAttack;
   459                 CurAmmoGear^.Message:= Message
   459                 CurAmmoGear^.Message:= Message
   460                 end
   460                 end
   461             else
   461             else
   462                 begin
   462                 begin
   463                 if not CurrentTeam^.ExtDriven
   463                 if not CurrentTeam^.ExtDriven