From f5e68169dc1a41bbb13e1147fff74a529407f6c0 Mon Sep 17 00:00:00 2001 From: ehofman Date: Wed, 4 Jun 2003 14:14:12 +0000 Subject: [PATCH] Just when you think you have it all sorted out, it stabbing you in the back. Make _last_dt 1.0 otherwise the tests will fail. --- src/Input/input.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Input/input.cxx b/src/Input/input.cxx index c6700eb5e..0e8bf31b0 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -693,9 +693,9 @@ void FGInput::_update_joystick (double dt) { #ifdef REMOVE_ME_AFTER_FLIGHTGEAR_0_9_2_RELEASE - static double _last_dt = 1.0; -#else static double _last_dt = 0.0; +#else + static double _last_dt = 1.0; #endif int modifiers = FG_MOD_NONE; // FIXME: any way to get the real ones? int i, j, buttons; -- 2.39.5