hedgewars/uGears.pas
changeset 2363 5304fa032d9b
parent 2362 ef4abaf2d5cc
child 2365 12b5373f4058
--- a/hedgewars/uGears.pas	Wed Sep 09 14:04:06 2009 +0000
+++ b/hedgewars/uGears.pas	Thu Sep 10 03:02:38 2009 +0000
@@ -1310,7 +1310,7 @@
 
 	glEnableClientState(GL_VERTEX_ARRAY);
 	glVertexPointer(2, GL_INT, 0, @RopePoints.rounded[0]);
-	glDrawArrays(GL_LINES, 0, cnt + 1);
+	glDrawArrays(GL_LINE_STRIP, 0, cnt + 1);
 	glColor4f(1, 1, 1, 1);
 	glEnable(GL_TEXTURE_2D);
 	glDisable(GL_LINE_SMOOTH);