From: curt Date: Wed, 17 Sep 2003 15:58:40 +0000 (+0000) Subject: Oops fix a small bug resetting to "real-clock" time. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b354f3093037bb0988260e0e66bbb8eed547d3e8;p=flightgear.git Oops fix a small bug resetting to "real-clock" time. --- 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()