diff -r cbb3af76bcc0 -r 08d623a494e6 hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Wed Oct 14 22:27:51 2009 +0000 +++ b/hedgewars/uWorld.pas Wed Oct 14 22:53:24 2009 +0000 @@ -250,11 +250,11 @@ TextureBuffer[0].X:= shift + (( - WorldDx + (RealTicks shr 6) * Dir + dX) mod cWaveWidth) / (cWaveWidth - 1); TextureBuffer[0].Y:= 0; TextureBuffer[1].X:= TextureBuffer[0].X + waves; -TextureBuffer[1].Y:= 0; -TextureBuffer[2].X:= TextureBuffer[0].X + waves; +TextureBuffer[1].Y:= TextureBuffer[0].Y; +TextureBuffer[2].X:= TextureBuffer[1].X; TextureBuffer[2].Y:= 1; TextureBuffer[3].X:= TextureBuffer[0].X; -TextureBuffer[3].Y:= 1; +TextureBuffer[3].Y:= TextureBuffer[2].Y; glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_TEXTURE_COORD_ARRAY);