# HG changeset patch
# User nemo
# Date 1288703210 14400
# Node ID 70945af0d7e1bc43141372f0e63d58c0c7849e59
# Parent  bf13068194b362928dccbd2201c425f4150035e6
this line doesn't use WorldDx

diff -r bf13068194b3 -r 70945af0d7e1 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;