replaced dynamically-sized arrays with statically-sized ones, to
work around MSVC bugs.
This commit is contained in:
parent
72c7dc57fd
commit
fe1f65eb24
1 changed files with 3 additions and 3 deletions
|
@ -553,9 +553,9 @@ FGInput::_init_joystick ()
|
||||||
SG_LOG(SG_INPUT, SG_INFO, "Initializing joystick " << i);
|
SG_LOG(SG_INPUT, SG_INFO, "Initializing joystick " << i);
|
||||||
|
|
||||||
// Set up range arrays
|
// Set up range arrays
|
||||||
float minRange[naxes];
|
float minRange[MAX_AXES];
|
||||||
float maxRange[naxes];
|
float maxRange[MAX_AXES];
|
||||||
float center[naxes];
|
float center[MAX_AXES];
|
||||||
|
|
||||||
// Initialize with default values
|
// Initialize with default values
|
||||||
js->getMinRange(minRange);
|
js->getMinRange(minRange);
|
||||||
|
|
Loading…
Reference in a new issue