--- a/hedgewars/uRender.pas Thu Jun 19 00:16:58 2014 +0200
+++ b/hedgewars/uRender.pas Thu Jun 19 00:23:03 2014 +0200
@@ -1376,7 +1376,7 @@
end
else
begin
- if InLeftX > OutLeftX then
+ if InLeftX > ViewLeftX then
begin
VertexBuffer[0].X:= OutLeftX - lol;
VertexBuffer[0].Y:= OutTopY;
@@ -1387,7 +1387,7 @@
afteri:= 4;
end;
- if InRightX < OutRightX then
+ if InRightX < ViewRightX then
begin
VertexBuffer[6].X:= OutRightX + lol;
VertexBuffer[6].Y:= OutTopY;
@@ -1400,7 +1400,7 @@
end;
end;
-if InTopY < BottomY then
+if InTopY < ViewBottomY then
begin
// shares vertices 2-5 with water walls