hedgewars/uStore.pas
changeset 3611 ed00aa2b339e
parent 3594 aeca3d8f1b29
child 3626 19f78afa0188
--- a/hedgewars/uStore.pas	Fri Jul 02 17:46:53 2010 +0200
+++ b/hedgewars/uStore.pas	Sat Jul 03 00:11:23 2010 +0200
@@ -424,7 +424,7 @@
                 else
                     begin
                     Texture:= Surface2Tex(tmpsurf, false);
-                    if (ii = sprWater) and ((cReducedQuality and rq2DWater) = 0) then // HACK: We should include some sprite attribute to define the texture wrap directions
+                    if (ii = sprWater) and ((cReducedQuality and (rq2DWater or rqClampLess)) = 0) then // HACK: We should include some sprite attribute to define the texture wrap directions
                     begin
                         glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
                     end;