From: ehofman Date: Wed, 4 Jun 2003 11:27:41 +0000 (+0000) Subject: Dang! A last minute update, and no way to test it. :-/ Make he joysticks work again. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cc89cf32c7bd718315ed498c149ed7f41cc990e6;p=flightgear.git Dang! A last minute update, and no way to test it. :-/ Make he joysticks work again. --- 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;