hedgewars/HHHandlers.inc
branchhedgeroid
changeset 5644 4ad07103cfae
parent 5612 2638dec1b323
child 5638 e35ba2a400d8
--- a/hedgewars/HHHandlers.inc	Sun Aug 21 22:18:54 2011 +0200
+++ b/hedgewars/HHHandlers.inc	Sun Aug 21 22:20:20 2011 +0200
@@ -376,8 +376,8 @@
                   end;
         if Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NeedTarget <> 0 then
             begin
-            newGear^.TargetX:= TargetPoint.X;
-            newGear^.TargetY:= TargetPoint.Y
+            newGear^.Target.X:= TargetPoint.X;
+            newGear^.Target.Y:= TargetPoint.Y
             end;
 
         // Clear FollowGear if using on a rope/parachute/saucer etc so focus stays with the hog's movement