fix invisible rope in low quality
authorkoda
Tue, 22 Sep 2009 21:00:39 +0000
changeset 2391 f7d15d9d643c
parent 2390 57fb33ab04a4
child 2392 a55dbef5cf31
fix invisible rope in low quality
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Tue Sep 22 18:58:02 2009 +0000
+++ b/hedgewars/uGears.pas	Tue Sep 22 21:00:39 2009 +0000
@@ -96,7 +96,7 @@
                                   dLen: hwFloat;
                                   b: boolean;
                                   end;
-                rounded: array[0..MAXROPEPOINTS + 2] of TVertex2i;
+                rounded: array[0..MAXROPEPOINTS + 2] of TVertex2f;
                 end;
 
 procedure DeleteGear(Gear: PGear); forward;
@@ -1280,8 +1280,7 @@
 
 	glLineWidth(4.0);
 
-//	glColor3ub($B0, $B0, $B0);
-	glColor4f(176.0, 176.0, 176.0, 1.0);
+	glColor4f(0.8, 0.8, 0.8, 1);
 
 	glEnableClientState(GL_VERTEX_ARRAY);
 	glVertexPointer(2, GL_FLOAT, 0, @RopePoints.rounded[0]);