1
0
Fork 0

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.

This commit is contained in:
ehofman 2003-06-04 14:14:12 +00:00
parent ae51ae6882
commit f5e68169dc

View file

@ -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;