]> git.mxchange.org Git - flightgear.git/commitdiff
Allow the joystick hat to move the view, even when the sim is paused.
authorjmt <jmt>
Wed, 2 Sep 2009 14:07:43 +0000 (14:07 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 9 Sep 2009 06:56:30 +0000 (08:56 +0200)
src/Main/main.cxx

index 2a453c9e834f934cbcb9babdb4ea66bd70c4d00f..8c64afae12ef6a81e6590d292b4f6f2bae48edad 100644 (file)
@@ -482,7 +482,7 @@ static void fgMainLoop( void ) {
     globals->get_model_mgr()->update(delta_time_sec);
 
     // update the view angle as late as possible, but before sound calculations
-    globals->get_viewmgr()->update(delta_time_sec);
+    globals->get_viewmgr()->update(real_delta_time_sec);
 
     // Do any I/O channel work that might need to be done (must come after viewmgr)
     globals->get_io()->update(real_delta_time_sec);