Oops, get rid of some extraneous debugging output.
This commit is contained in:
parent
7f2757a7ab
commit
5d6eafc091
1 changed files with 4 additions and 4 deletions
|
@ -494,11 +494,11 @@ do_timeofday (const SGPropertyNode * arg)
|
||||||
static const SGPropertyNode *cur_time_override
|
static const SGPropertyNode *cur_time_override
|
||||||
= fgGetNode("/sim/time/cur-time-override", true);
|
= 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 << "cur_time = " << cur_time << endl;
|
||||||
cout << "orig_warp = " << orig_warp << endl;
|
// cout << "orig_warp = " << orig_warp << endl;
|
||||||
|
|
||||||
int warp = 0;
|
int warp = 0;
|
||||||
if ( offset_type == "noon" ) {
|
if ( offset_type == "noon" ) {
|
||||||
|
@ -526,7 +526,7 @@ do_timeofday (const SGPropertyNode * arg)
|
||||||
latitude->getDoubleValue()
|
latitude->getDoubleValue()
|
||||||
* SGD_DEGREES_TO_RADIANS );
|
* SGD_DEGREES_TO_RADIANS );
|
||||||
}
|
}
|
||||||
cout << "warp = " << warp << endl;
|
// cout << "warp = " << warp << endl;
|
||||||
globals->set_warp( orig_warp + warp );
|
globals->set_warp( orig_warp + warp );
|
||||||
|
|
||||||
t->update( longitude->getDoubleValue() * SGD_DEGREES_TO_RADIANS,
|
t->update( longitude->getDoubleValue() * SGD_DEGREES_TO_RADIANS,
|
||||||
|
|
Loading…
Add table
Reference in a new issue