Dang! A last minute update, and no way to test it. :-/ Make he joysticks work again.
This commit is contained in:
parent
f46bda0621
commit
cc89cf32c7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue