From b354f3093037bb0988260e0e66bbb8eed547d3e8 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 17 Sep 2003 15:58:40 +0000 Subject: [PATCH] Oops fix a small bug resetting to "real-clock" time. --- src/Main/fg_commands.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/fg_commands.cxx b/src/Main/fg_commands.cxx index ff97eb897..b24ca9002 100644 --- a/src/Main/fg_commands.cxx +++ b/src/Main/fg_commands.cxx @@ -502,7 +502,7 @@ do_timeofday (const SGPropertyNode * arg) int warp = 0; if ( offset_type == "real" ) { - warp = 0; + warp = -orig_warp; } else if ( offset_type == "dawn" ) { warp = fgTimeSecondsUntilSunAngle( cur_time, longitude->getDoubleValue() -- 2.39.5