hedgewars/HHHandlers.inc
changeset 5612 2638dec1b323
parent 5584 e0b9722bd653
child 5638 e35ba2a400d8
equal deleted inserted replaced
5610:f8bdc789ac60 5612:2638dec1b323
   374                   amResurrector, amStructure,
   374                   amResurrector, amStructure,
   375                        amTardis: CurAmmoGear:= newGear;
   375                        amTardis: CurAmmoGear:= newGear;
   376                   end;
   376                   end;
   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^.TargetX:= TargetPoint.X;
   379             newGear^.Target.X:= TargetPoint.X;
   380             newGear^.TargetY:= TargetPoint.Y
   380             newGear^.Target.Y:= TargetPoint.Y
   381             end;
   381             end;
   382 
   382 
   383         // Clear FollowGear if using on a rope/parachute/saucer etc so focus stays with the hog's movement
   383         // Clear FollowGear if using on a rope/parachute/saucer etc so focus stays with the hog's movement
   384         if altUse then FollowGear:= nil;
   384         if altUse then FollowGear:= nil;
   385 
   385