]> git.mxchange.org Git - flightgear.git/commitdiff
Dang! A last minute update, and no way to test it. :-/ Make he joysticks work again.
authorehofman <ehofman>
Wed, 4 Jun 2003 11:27:41 +0000 (11:27 +0000)
committerehofman <ehofman>
Wed, 4 Jun 2003 11:27:41 +0000 (11:27 +0000)
src/Input/input.cxx

index e7377067cc03d8d5ed6cc9b5a6ee9d09944d9718..26fd15bc5918907d140b616c35ef7ff282b0ee7b 100644 (file)
@@ -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;