fix search&replace whoopsy
authorsheepluva
Thu, 19 Jun 2014 00:23:03 +0200
changeset 10333 e1253205eb7e
parent 10332 194f003b41a4
child 10334 872da9a6a2b0
fix search&replace whoopsy
hedgewars/uRender.pas
--- 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