mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-21 00:41:05 +00:00
Fix SDL3 build after merging sdl3-current into master.
One function call wasn't renamed, the missing function prevented the build. Patch submitted by @protocultor in a comment to #1153.
This commit is contained in:
parent
e8eb810c01
commit
6408cc7099
1 changed files with 1 additions and 1 deletions
|
@ -864,7 +864,7 @@ IN_Update(void)
|
|||
break;
|
||||
|
||||
case SDL_EVENT_GAMEPAD_REMOVED :
|
||||
if (controller && event.gdevice.which == SDL_GetJoystickInstanceID(SDL_GetGamepadJoystick(controller))) {
|
||||
if (controller && event.gdevice.which == SDL_GetJoystickID(SDL_GetGamepadJoystick(controller))) {
|
||||
Cvar_SetValue("paused", 1);
|
||||
IN_Controller_Shutdown(true);
|
||||
IN_Controller_Init(false);
|
||||
|
|
Loading…
Reference in a new issue