]> git.mxchange.org Git - flightgear.git/commitdiff
Oops fix a small bug resetting to "real-clock" time.
authorcurt <curt>
Wed, 17 Sep 2003 15:58:40 +0000 (15:58 +0000)
committercurt <curt>
Wed, 17 Sep 2003 15:58:40 +0000 (15:58 +0000)
src/Main/fg_commands.cxx

index ff97eb8975c557cff97312ca6c99ea96d1161663..b24ca900222d6ae5303efb5c6bbcf6859499765b 100644 (file)
@@ -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()