]> git.mxchange.org Git - flightgear.git/commitdiff
Oops, get rid of some extraneous debugging output.
authorcurt <curt>
Tue, 16 Sep 2003 22:38:41 +0000 (22:38 +0000)
committercurt <curt>
Tue, 16 Sep 2003 22:38:41 +0000 (22:38 +0000)
src/Main/fg_commands.cxx

index 50ab54f307a660b8a870d5cda425943dbc7824da..3e1d9e7ce8a36d3a123be4b2ef389931bbd0dd29 100644 (file)
@@ -494,11 +494,11 @@ do_timeofday (const SGPropertyNode * arg)
     static const SGPropertyNode *cur_time_override
         = fgGetNode("/sim/time/cur-time-override", true);
 
     static const SGPropertyNode *cur_time_override
         = fgGetNode("/sim/time/cur-time-override", true);
 
-    SGTime *t = globals->get_time_params();
     int orig_warp = globals->get_warp();
     int orig_warp = globals->get_warp();
+    SGTime *t = globals->get_time_params();
     time_t cur_time = t->get_cur_time();
     time_t cur_time = t->get_cur_time();
-    cout << "cur_time = " << cur_time << endl;
-    cout << "orig_warp = " << orig_warp << endl;
+    // cout << "cur_time = " << cur_time << endl;
+    // cout << "orig_warp = " << orig_warp << endl;
 
     int warp = 0;
     if ( offset_type == "noon" ) {
 
     int warp = 0;
     if ( offset_type == "noon" ) {
@@ -526,7 +526,7 @@ do_timeofday (const SGPropertyNode * arg)
                                        latitude->getDoubleValue()
                                          * SGD_DEGREES_TO_RADIANS ); 
     }
                                        latitude->getDoubleValue()
                                          * SGD_DEGREES_TO_RADIANS ); 
     }
-    cout << "warp = " << warp << endl;
+    // cout << "warp = " << warp << endl;
     globals->set_warp( orig_warp + warp );
 
     t->update( longitude->getDoubleValue() * SGD_DEGREES_TO_RADIANS,
     globals->set_warp( orig_warp + warp );
 
     t->update( longitude->getDoubleValue() * SGD_DEGREES_TO_RADIANS,