Oops fix a small bug resetting to "real-clock" time.
This commit is contained in:
parent
a217c563ba
commit
b354f30930
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue