hedgewars/uWorld.pas
changeset 2553 7d8d62a5566e
parent 2495 b6b9523e06bf
child 2567 02ff5f9510b5
--- 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;