# HG changeset patch # User nemo # Date 1340629263 14400 # Node ID c0825f15272ec5af8c3020cbb0b15edce7320126 # Parent a9016b157535c0cd1c9df454af6f7923f1aa1cda oops diff -r a9016b157535 -r c0825f15272e 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