]> git.mxchange.org Git - flightgear.git/commitdiff
Fix ordering of aircraft-model updates against flight model.
authorJames Turner <jmt@Dulux.local>
Wed, 16 Jun 2010 16:46:41 +0000 (17:46 +0100)
committerJames Turner <zakalawe@mac.com>
Sat, 26 Jun 2010 09:31:22 +0000 (10:31 +0100)
src/Main/main.cxx

index 4ffb1cd031c4326e7da69fb01f3d3c582af23e1f..d69478e55c533f294bd0c2a48d1cc3503feca997 100644 (file)
@@ -352,9 +352,10 @@ static void fgMainLoop( void ) {
     if (fgGetBool("/sim/ai-traffic/enabled"))
         globals->get_AI_mgr()->update(delta_time_sec);
   
-    globals->get_aircraft_model()->update(delta_time_sec);
+    
     globals->get_subsystem_mgr()->update(delta_time_sec);
-
+    globals->get_aircraft_model()->update(delta_time_sec);
+    
     //
     // Tile Manager updates - see if we need to load any new scenery tiles.
     //   this code ties together the fdm, viewer and scenery classes...