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