hedgewars/HHHandlers.inc
changeset 6121 895115acb8c5
parent 6118 7684ca4f9808
child 6122 58ecb4fb743d
equal deleted inserted replaced
6120:85d99bbe074c 6121:895115acb8c5
   371                       amJetpack, amBirdy,
   371                       amJetpack, amBirdy,
   372                  amFlamethrower, amLandGun,
   372                  amFlamethrower, amLandGun,
   373                   amResurrector, amStructure,
   373                   amResurrector, amStructure,
   374                        amTardis: CurAmmoGear:= newGear;
   374                        amTardis: CurAmmoGear:= newGear;
   375                   end;
   375                   end;
       
   376               if (CurAmmoType = amMine) or (CurAmmoType = amSMine) and (GameFlags and gfInfAttack <> 0) then newGear^.FlightTime:= GameTicks;
   376         if Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NeedTarget <> 0 then
   377         if Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NeedTarget <> 0 then
   377             begin
   378             begin
   378             newGear^.Target.X:= TargetPoint.X;
   379             newGear^.Target.X:= TargetPoint.X;
   379             newGear^.Target.Y:= TargetPoint.Y
   380             newGear^.Target.Y:= TargetPoint.Y
   380             end;
   381             end;