early-access version 1898

This commit is contained in:
pineappleEA
2021-07-20 13:10:07 +02:00
parent 83d2501797
commit 9b74595473
2 changed files with 3 additions and 3 deletions

View File

@@ -165,10 +165,10 @@ public:
if (sdl_controller) {
return SDL_GameControllerRumble(sdl_controller.get(), amp_low, amp_high,
rumble_max_duration_ms) == 0;
rumble_max_duration_ms) != -1;
} else if (sdl_joystick) {
return SDL_JoystickRumble(sdl_joystick.get(), amp_low, amp_high,
rumble_max_duration_ms) == 0;
rumble_max_duration_ms) != -1;
}
return false;