Fix black screen when in_joystick disabled but controller connected.

This commit is contained in:
SmileTheory 2016-08-11 00:46:43 -07:00
parent f47aaa2a61
commit 1cf0b21cda

View file

@ -1062,6 +1062,7 @@ static void IN_ProcessEvents( void )
case SDL_CONTROLLERDEVICEADDED:
case SDL_CONTROLLERDEVICEREMOVED:
if (in_joystick->integer)
IN_InitJoystick();
break;