Hey, there was inc(Radius, 4)
authorunc0rr
Mon, 01 Apr 2013 23:07:24 +0400
changeset 8828 4ae5233abe76
parent 8826 586f61148980
child 8830 343d3f0d6a86
Hey, there was inc(Radius, 4)
hedgewars/uLandGraphics.pas
--- a/hedgewars/uLandGraphics.pas	Sun Mar 31 15:45:24 2013 -0400
+++ b/hedgewars/uLandGraphics.pas	Mon Apr 01 23:07:24 2013 +0400
@@ -382,10 +382,10 @@
         FillRoundInLand(x, y, Radius - 15, nullPixel);
     FillRoundInLand(X, Y, Radius, 0);
     FillRoundInLand(x, y, Radius + 4, ebcPixel);
-    tx:= Max(X - Radius - 1, 0);
-    dx:= Min(X + Radius + 1, LAND_WIDTH) - tx;
-    ty:= Max(Y - Radius - 1, 0);
-    dy:= Min(Y + Radius + 1, LAND_HEIGHT) - ty;
+    tx:= Max(X - Radius - 5, 0);
+    dx:= Min(X + Radius + 5, LAND_WIDTH) - tx;
+    ty:= Max(Y - Radius - 5, 0);
+    dy:= Min(Y + Radius + 5, LAND_HEIGHT) - ty;
     UpdateLandTexture(tx, dx, ty, dy, false);
 end;