1
0
Fork 0

replaced dynamically-sized arrays with statically-sized ones, to

work around MSVC bugs.
This commit is contained in:
curt 2001-06-12 05:16:38 +00:00
parent 72c7dc57fd
commit fe1f65eb24

View file

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