]> git.mxchange.org Git - flightgear.git/blobdiff - src/Time/tmp.cxx
Updates to allow weather system and atis to interact better.
[flightgear.git] / src / Time / tmp.cxx
index e4df6525176eb473d1119a92193ec308fb428484..b15514934bb2ae006d9a0764fda6c6967a50cbcc 100644 (file)
@@ -48,6 +48,11 @@ void fgUpdateLocalTime() {
     SGPath zone( globals->get_fg_root() );
     zone.append( "Timezone" );
 
+    cout << "updateLocal("
+         << longitude->getDoubleValue() * SGD_DEGREES_TO_RADIANS
+         << ", "
+         << latitude->getDoubleValue() * SGD_DEGREES_TO_RADIANS
+         << ", " << zone.str() << ")" << endl;
     globals->get_time_params()->updateLocal( longitude->getDoubleValue()
                                               * SGD_DEGREES_TO_RADIANS, 
                                             latitude->getDoubleValue()