hedgewars/uWorld.pas
changeset 2285 6746bda385e8
parent 2277 a9c0b37955fa
child 2287 e34b5363ae91
--- a/hedgewars/uWorld.pas	Tue Jul 28 16:29:39 2009 +0000
+++ b/hedgewars/uWorld.pas	Tue Jul 28 22:04:04 2009 +0000
@@ -69,6 +69,7 @@
 cWaveWidth:= SpritesData[sprWater].Width;
 //cWaveHeight:= SpritesData[sprWater].Height;
 cWaveHeight:= 32;
+cWaterSprCount:= 1 + round(cScreenWidth * 2 / cScaleFactor / SpritesData[sprWater].Width);
 cGearScrEdgesDist:= Min(cScreenWidth div 2 - 100, cScreenHeight div 2 - 50);
 SDL_WarpMouse(cScreenWidth div 2, cScreenHeight div 2);
 prevPoint.X:= 0;