1
0
Fork 0

Fix a typo

This commit is contained in:
Erik Hofman 2020-01-26 14:30:24 +01:00
parent 3405ea2aaa
commit d4459c8205

View file

@ -355,7 +355,7 @@ void FGJoystickInput::updateJoystick(int index, FGJoystickInput::joystick* joy,
// https://sourceforge.net/p/flightgear/codetickets/2185/
if (initializing[index]) {
for (int j = 0; j < joy->naxes; j++) {
if (fabsf(axis_values[j] > 0.5f)) return;
if (fabsf(axis_values[j]) > 0.5f) return;
}
initializing[index] = false;
}