this line doesn't use WorldDx
authornemo
Tue, 02 Nov 2010 09:06:50 -0400
changeset 4093 70945af0d7e1
parent 4092 bf13068194b3
child 4094 8bb301767c9f
this line doesn't use WorldDx
hedgewars/GearDrawing.inc
--- a/hedgewars/GearDrawing.inc	Tue Nov 02 13:17:01 2010 +0100
+++ b/hedgewars/GearDrawing.inc	Tue Nov 02 09:06:50 2010 -0400
@@ -97,8 +97,8 @@
                 end;
 
             // add hog's position
-            lx:= lx + ox;
-            ly:= ly + oy;
+            lx:= lx + ox - WorldDx;
+            ly:= ly + ox - WorldDy;
 
             // decrease number of iterations required
             ax:= dx * 4;