fix bug on grSun.cpp
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4757 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 5d3577d3e1fe30fd04bc2b8f25c9a2ea0debdcba Former-commit-id: d8cad8a27680223303b94bb378188c2c59b7afcf
This commit is contained in:
parent
7aa78e9c9d
commit
9e47a5f503
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ bool cGrSun::repaint( double sun_angle, double new_visibility )
|
|||
else if ( i_halo_color[2] > 1) i_halo_color[2] = 1;
|
||||
if ( o_halo_color[2] < 0 ) o_halo_color[2] = 0;
|
||||
else if ( o_halo_color[2] > 1) o_halo_color[2] = 1;
|
||||
if ( o_halo_color[3] < 0 ) o_halo_color[2] = 0;
|
||||
if ( o_halo_color[3] < 0 ) o_halo_color[3] = 0;
|
||||
else if ( o_halo_color[3] > 1) o_halo_color[3] = 1;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue