From: jmt Date: Wed, 2 Sep 2009 14:07:43 +0000 (+0000) Subject: Allow the joystick hat to move the view, even when the sim is paused. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5a01c55335e5e3b8ca1ff9cff62648250a921e7f;p=flightgear.git Allow the joystick hat to move the view, even when the sim is paused. --- diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 2a453c9e8..8c64afae1 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -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);