diff -r b9a9f70948da -r ce9b48de1f52 hedgewars/uStore.pas --- a/hedgewars/uStore.pas Tue Dec 28 20:44:06 2010 +0100 +++ b/hedgewars/uStore.pas Tue Dec 28 23:53:37 2010 +0100 @@ -307,7 +307,7 @@ else begin Texture:= Surface2Tex(tmpsurf, false); - if (ii = sprWater) and ((cReducedQuality and (rq2DWater or rqClampLess)) = 0) then // HACK: We should include some sprite attribute to define the texture wrap directions + if ((ii = sprWater) or (ii = sprSDWater)) and ((cReducedQuality and (rq2DWater or rqClampLess)) = 0) then // HACK: We should include some sprite attribute to define the texture wrap directions glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); end; glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, priority);