hedgewars/HHHandlers.inc
changeset 6122 58ecb4fb743d
parent 6121 895115acb8c5
child 6131 4e8816cf9459
equal deleted inserted replaced
6121:895115acb8c5 6122:58ecb4fb743d
   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 (CurAmmoType = amMine) or (CurAmmoType = amSMine) and (GameFlags and gfInfAttack <> 0) then newGear^.FlightTime:= GameTicks + 1000;
   377         if Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NeedTarget <> 0 then
   377         if Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NeedTarget <> 0 then
   378             begin
   378             begin
   379             newGear^.Target.X:= TargetPoint.X;
   379             newGear^.Target.X:= TargetPoint.X;
   380             newGear^.Target.Y:= TargetPoint.Y
   380             newGear^.Target.Y:= TargetPoint.Y
   381             end;
   381             end;