hedgewars/uGearsHedgehog.pas
changeset 8566 d9627d65edf7
parent 8562 d9d1cb650ff8
child 8589 3bb505fc707e
equal deleted inserted replaced
8564:dadfda4ba248 8566:d9627d65edf7
   456 
   456 
   457             Power:= 0;
   457             Power:= 0;
   458             if (CurAmmoGear <> nil)
   458             if (CurAmmoGear <> nil)
   459                 and ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_AltUse) = 0){check for dropping ammo from rope} then
   459                 and ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_AltUse) = 0){check for dropping ammo from rope} then
   460                 begin
   460                 begin
   461                 if CurAmmoType = amRope then Message:= Message or gmAttack;
   461                 if CurAmmoType in [amRope,amResurrector] then Message:= Message or gmAttack;
   462                 CurAmmoGear^.Message:= Message
   462                 CurAmmoGear^.Message:= Message
   463                 end
   463                 end
   464             else
   464             else
   465                 begin
   465                 begin
   466                 if not CurrentTeam^.ExtDriven
   466                 if not CurrentTeam^.ExtDriven