hedgewars/uWorld.pas
changeset 10276 89056c7254ef
parent 10275 6c91047f59b6
child 10277 b325e36f8e54
--- a/hedgewars/uWorld.pas	Tue Jun 10 23:21:22 2014 +0200
+++ b/hedgewars/uWorld.pas	Wed Jun 11 12:55:24 2014 +0200
@@ -833,7 +833,7 @@
         VertexBuffer[3].X:= -lw;
         VertexBuffer[3].Y:= lh;
 
-        DrawWaterBody(@VertexBuffer[0], Length(VertexBuffer));
+        DrawWaterBody(@VertexBuffer[0]);
 
 {$IFNDEF GL2}
         // must not be Tint() as color array seems to stay active and color reset is required