hedgewars/GearDrawing.inc
changeset 4093 70945af0d7e1
parent 4077 e7d838d063a4
child 4094 8bb301767c9f
--- 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;