hedgewars/uLandPainted.pas
changeset 7287 c0825f15272e
parent 7277 b817a478dcfb
child 7583 8a9edc7cf98f
--- a/hedgewars/uLandPainted.pas	Mon Jun 25 10:16:19 2012 +0400
+++ b/hedgewars/uLandPainted.pas	Mon Jun 25 09:01:03 2012 -0400
@@ -57,10 +57,10 @@
         rec:= prec^;
         rec.X:= SDLNet_Read16(@rec.X);
         rec.Y:= SDLNet_Read16(@rec.Y);
-        if rec.X < -323 then rec.X:= -323;
-        if rec.X > LAND_WIDTH+323 then rec.X:= LAND_WIDTH+323;
-        if rec.Y < -323 then rec.Y:= -323;
-        if rec.Y > LAND_HEIGHT+323 then rec.Y:= LAND_HEIGHT+323;
+        if rec.X < -318 then rec.X:= -318;
+        if rec.X > LAND_WIDTH+318 then rec.X:= LAND_WIDTH+318;
+        if rec.Y < -318 then rec.Y:= -318;
+        if rec.Y > LAND_HEIGHT+318 then rec.Y:= LAND_HEIGHT+318;
 
         new(pe);
         if pointsListLast = nil then