From 0fa3a329e8891570b11c97e187ba25a7e04c2029 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 2 Mar 2000 19:06:28 +0000 Subject: [PATCH] Fixed a typo in the sky dome painting code. --- simgear/sky/skydome.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/sky/skydome.cxx b/simgear/sky/skydome.cxx index 48d62bfe..1a1abc42 100644 --- a/simgear/sky/skydome.cxx +++ b/simgear/sky/skydome.cxx @@ -362,7 +362,7 @@ bool FGSkyDome::repaint( sgVec3 sky_color, sgVec3 fog_color, double sun_angle ) if ( middle_color[i][j] > 1.0 ) { middle_color[i][j] = 1.0; } if ( middle_color[i][j] < 0.1 ) { middle_color[i][j] = 0.1; } if ( lower_color[i][j] > 1.0 ) { lower_color[i][j] = 1.0; } - if ( lower_color[i][j] < 35 ) { lower_color[i][j] = 35; } + if ( lower_color[i][j] < 0.1 ) { lower_color[i][j] = 0.1; } } // upper_color[i][3] = middle_color[i][3] = lower_color[i][3] = // (GLubyte)(sky_color[3] * 1.0); -- 2.39.5