Make the runway lights come on just a bit sooner in terms of sun angle.
This commit is contained in:
parent
b672fed418
commit
019b31ea26
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue