diff -r 8590424bdfb0 -r ed00aa2b339e hedgewars/uStore.pas --- 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;