From cc89cf32c7bd718315ed498c149ed7f41cc990e6 Mon Sep 17 00:00:00 2001 From: ehofman Date: Wed, 4 Jun 2003 11:27:41 +0000 Subject: [PATCH] Dang! A last minute update, and no way to test it. :-/ Make he joysticks work again. --- src/Input/input.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Input/input.cxx b/src/Input/input.cxx index e7377067c..26fd15bc5 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -699,7 +699,7 @@ FGInput::_update_joystick (double dt) float axis_values[MAX_JOYSTICK_AXES]; // update the joystick 20 times per second. - if ((dt += dt) > 50) + if ((_last_dt += dt) > 50) _last_dt = 0.0; else return;