# HG changeset patch # User unc0rr # Date 1206132083 0 # Node ID 635e582950790f417f955bee065e5db074cff079 # Parent 7069f18517e9e42ac6a0c7fe0582e8ee89c41bee Fix drill bug diff -r 7069f18517e9 -r 635e58295079 hedgewars/uLandGraphics.pas --- a/hedgewars/uLandGraphics.pas Fri Mar 21 20:34:48 2008 +0000 +++ b/hedgewars/uLandGraphics.pas Fri Mar 21 20:41:23 2008 +0000 @@ -215,7 +215,8 @@ inc(y, dY) end; -UpdateLandTexture(0, 1024) + +UpdateLandTexture(0, 1023) end; // @@ -279,8 +280,8 @@ ny:= ny + dX; end; -t:= max(stY - HalfWidth * 3 div 2 - 4, 0); -ty:= min(stY + HalfWidth * 3 div 2 + 4, 1023) - t; +t:= max(stY - HalfWidth * 2 - 4, 0); +ty:= min(stY + HalfWidth * 2 + 4, 1023) - t; UpdateLandTexture(t, ty) end;