1
0
mirror of synced 2025-02-21 12:29:43 +01:00

Fix sine and constant effects

This commit is contained in:
pinkimo 2019-10-06 22:18:45 +02:00
parent 27635a710d
commit 6b4825e2f9

View File

@ -1103,7 +1103,7 @@ void TriggerConstantEffect(int direction, double strength)
// stop previous effect if not completed
if (configResetFeedback) {
SDL_HapticStopEffect(haptic, effects.effect_sine_id);
SDL_HapticStopEffect(haptic, effects.effect_id);
}
SDL_HapticEffect tempEffect;