]> git.mxchange.org Git - flightgear.git/commitdiff
Make the runway lights come on just a bit sooner in terms of sun angle.
authorcurt <curt>
Mon, 25 Nov 2002 21:42:07 +0000 (21:42 +0000)
committercurt <curt>
Mon, 25 Nov 2002 21:42:07 +0000 (21:42 +0000)
src/Objects/obj.cxx

index 5ce38b44a198ac6fe9b3d87eebf0f4a6b0dee9fb..2b5f113bc49b0185ec0b93ea6ebfcc937534130e 100644 (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));
 }