From: curt Date: Thu, 2 Mar 2000 19:06:28 +0000 (+0000) Subject: Fixed a typo in the sky dome painting code. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0fa3a329e8891570b11c97e187ba25a7e04c2029;p=simgear.git Fixed a typo in the sky dome painting code. --- 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);