Fix a typo
This commit is contained in:
parent
3405ea2aaa
commit
d4459c8205
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue