# HG changeset patch # User unc0rr # Date 1255877273 0 # Node ID 7d8d62a5566ed84688c596b8f55e83cfd171683e # Parent 3cbc3d90675bd2ea23c6f17198e83ad048e786b0 Smaxx: fix water sprites rendering diff -r 3cbc3d90675b -r 7d8d62a5566e hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Sun Oct 18 14:47:24 2009 +0000 +++ b/hedgewars/uWorld.pas Sun Oct 18 14:47:53 2009 +0000 @@ -252,7 +252,7 @@ TextureBuffer[1].X:= TextureBuffer[0].X + waves; TextureBuffer[1].Y:= TextureBuffer[0].Y; TextureBuffer[2].X:= TextureBuffer[1].X; -TextureBuffer[2].Y:= 1; +TextureBuffer[2].Y:= SpritesData[sprWater].Texture^.ry; TextureBuffer[3].X:= TextureBuffer[0].X; TextureBuffer[3].Y:= TextureBuffer[2].Y;