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);
|
||||
|
||||
// Set up range arrays
|
||||
float minRange[naxes];
|
||||
float maxRange[naxes];
|
||||
float center[naxes];
|
||||
float minRange[MAX_AXES];
|
||||
float maxRange[MAX_AXES];
|
||||
float center[MAX_AXES];
|
||||
|
||||
// Initialize with default values
|
||||
js->getMinRange(minRange);
|
||||
|
|
Loading…
Reference in a new issue