setup: Enable joystick after calibration.

If the user has just successfully calibrated the joystick, then
turn on use_joystick as a convenience feature.
This commit is contained in:
Simon Howard 2014-05-01 01:55:21 -04:00
parent ca2a6aee59
commit 10b94b8e2d

View file

@ -505,6 +505,7 @@ static int CalibrationEventCallback(SDL_Event *event, void *user_data)
// Finished? // Finished?
if (calibrate_stage == CALIBRATE_CENTER) if (calibrate_stage == CALIBRATE_CENTER)
{ {
use_joystick = 1;
TXT_CloseWindow(calibration_window); TXT_CloseWindow(calibration_window);
} }