# HG changeset patch # User koda # Date 1253653239 0 # Node ID f7d15d9d643cdf69f074c395a7afd739b3f84882 # Parent 57fb33ab04a49c60f4098e61b1d95cb12e1d1b6c fix invisible rope in low quality diff -r 57fb33ab04a4 -r f7d15d9d643c 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]);