1
0
Fork 0

Make the runway lights come on just a bit sooner in terms of sun angle.

This commit is contained in:
curt 2002-11-25 21:42:07 +00:00
parent b672fed418
commit 019b31ea26

View file

@ -80,7 +80,7 @@ runway_lights_pretrav (ssgEntity * e, int mask)
{
// Turn on lights only at night
float sun_angle = cur_light_params.sun_angle * SGD_RADIANS_TO_DEGREES;
return int((sun_angle > 90.0) ||
return int((sun_angle > 85.0) ||
(fgGetDouble("/environment/visibility-m") < 5000.0));
}