# HG changeset patch
# User nemo
# Date 1345745768 14400
# Node ID 8a9edc7cf98fa2a5312daf6953baf49c06715152
# Parent  ea509b70e03d07ea668e6ad78eb96474f0de0bbb
drawn maps have a fixed 4096x2048 area right now

diff -r ea509b70e03d -r 8a9edc7cf98f hedgewars/uLandPainted.pas
--- a/hedgewars/uLandPainted.pas	Wed Aug 22 22:10:47 2012 -0400
+++ b/hedgewars/uLandPainted.pas	Thu Aug 23 14:16:08 2012 -0400
@@ -58,9 +58,9 @@
         rec.X:= SDLNet_Read16(@rec.X);
         rec.Y:= SDLNet_Read16(@rec.Y);
         if rec.X < -318 then rec.X:= -318;
-        if rec.X > LAND_WIDTH+318 then rec.X:= LAND_WIDTH+318;
+        if rec.X > 4096+318 then rec.X:= 4096+318;
         if rec.Y < -318 then rec.Y:= -318;
-        if rec.Y > LAND_HEIGHT+318 then rec.Y:= LAND_HEIGHT+318;
+        if rec.Y > 2048+318 then rec.Y:= 2048+318;
 
         new(pe);
         if pointsListLast = nil then