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:
torcs-ng 2012-06-21 18:31:39 +00:00
parent 7aa78e9c9d
commit 9e47a5f503

View file

@ -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;