forked from JailDoctor/JailAudio
- [FIX] Che, se m'havia colat un error
This commit is contained in:
1 parent
1d6d92a0b2
commit
d704614b23
1 file changed
+1
-1
+1
-1
@@ -97,7 +97,7 @@ Uint32 JA_UpdateCallback(void *userdata, SDL_TimerID timerID, Uint32 interval)
|
||||
if (time > (fade_start_time+fade_duration)) {
|
||||
fading = false;
|
||||
JA_StopMusic();
|
||||
return;
|
||||
return 30;
|
||||
} else {
|
||||
const int time_passed = time - fade_start_time;
|
||||
const float percent = (float)time_passed / (float)fade_duration;
|
||||
|
||||
Reference in new issue
Block a user