]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/main.cxx
Add OPTION_MULTI to several more options that could potentially be used
[flightgear.git] / src / Main / main.cxx
index 75b0c448139e4235e58ed4876a27d5c421207fd5..aed183c372c10cf4c0c679bb6c2fb132483a7b4e 100644 (file)
 #include <simgear/props/AtomicChangeListener.hxx>
 #include <simgear/props/props.hxx>
 #include <simgear/timing/sg_time.hxx>
+#include <simgear/timing/timestamp.hxx>
 #include <simgear/magvar/magvar.hxx>
 #include <simgear/math/sg_random.h>
 #include <simgear/io/raw_socket.hxx>
 #include <simgear/scene/tsync/terrasync.hxx>
-#include <simgear/misc/sg_sleep.hxx>
 
 #include <Time/light.hxx>
 #include <Aircraft/replay.hxx>
@@ -214,7 +214,7 @@ static void fgMainLoop( void ) {
         {
             fgSplashProgress("loading scenery");
             // be nice to loader threads while waiting for initial scenery, reduce to 2fps
-            simgear::sleepForMSec(500);
+            SGTimeStamp::sleepForMSec(500);
         }
     }