oops
authornemo
Mon, 25 Jun 2012 09:01:03 -0400
changeset 7287 c0825f15272e
parent 7285 a9016b157535
child 7290 390d76b29ed0
oops
hedgewars/uLandPainted.pas
--- 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