]> git.mxchange.org Git - flightgear.git/commitdiff
Name the property sun-angle-rad instead of sun-pos-rad to make it a bit more descriptive
authorehofman <ehofman>
Wed, 7 Jan 2004 22:51:28 +0000 (22:51 +0000)
committerehofman <ehofman>
Wed, 7 Jan 2004 22:51:28 +0000 (22:51 +0000)
src/Time/light.cxx

index 2ab9a44d96326d42e6f335f64e931f5c778e32fb..e4f67467c259202e5fed3600d4590872105d259a 100644 (file)
@@ -134,12 +134,12 @@ void FGLight::reinit () {
 
 void FGLight::bind () {
     SGPropertyNode *prop = globals->get_props();
-    prop->tie("/sim/time/sun-pos-rad", SGRawValuePointer<double>(&_sun_angle));
+    prop->tie("/sim/time/sun-angle-rad",SGRawValuePointer<double>(&_sun_angle));
 }
 
 void FGLight::unbind () {
     SGPropertyNode *prop = globals->get_props();
-    prop->untie("/sim/time/sun-pos-rad");
+    prop->untie("/sim/time/sun-angle-rad");
 }