1
0
Fork 0

Oops fix a small bug resetting to "real-clock" time.

This commit is contained in:
curt 2003-09-17 15:58:40 +00:00
parent a217c563ba
commit b354f30930

View file

@ -502,7 +502,7 @@ do_timeofday (const SGPropertyNode * arg)
int warp = 0; int warp = 0;
if ( offset_type == "real" ) { if ( offset_type == "real" ) {
warp = 0; warp = -orig_warp;
} else if ( offset_type == "dawn" ) { } else if ( offset_type == "dawn" ) {
warp = fgTimeSecondsUntilSunAngle( cur_time, warp = fgTimeSecondsUntilSunAngle( cur_time,
longitude->getDoubleValue() longitude->getDoubleValue()