hedgewars/uGears.pas
changeset 5612 2638dec1b323
parent 5594 3ab68a93434b
child 5622 93e97d3a2c10
--- a/hedgewars/uGears.pas	Sat Aug 20 16:31:20 2011 -0400
+++ b/hedgewars/uGears.pas	Sat Aug 20 16:43:57 2011 -0400
@@ -209,7 +209,7 @@
 FillChar(gear^, sizeof(TGear), 0);
 gear^.X:= int2hwFloat(X);
 gear^.Y:= int2hwFloat(Y);
-gear^.TargetX:= NoPointX;
+gear^.Target.X:= NoPointX;
 gear^.Kind := Kind;
 gear^.State:= State;
 gear^.Active:= true;