hedgewars/HHHandlers.inc
changeset 5612 2638dec1b323
parent 5584 e0b9722bd653
child 5638 e35ba2a400d8
--- a/hedgewars/HHHandlers.inc	Sat Aug 20 16:31:20 2011 -0400
+++ b/hedgewars/HHHandlers.inc	Sat Aug 20 16:43:57 2011 -0400
@@ -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