mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fixed loop point counter bug
This commit is contained in:
parent
0a0537d486
commit
2f7bdd4aa3
1 changed files with 1 additions and 1 deletions
|
|
@ -480,7 +480,7 @@ static void music_loop(void)
|
||||||
{
|
{
|
||||||
Mix_PlayMusic(music, 0);
|
Mix_PlayMusic(music, 0);
|
||||||
Mix_SetMusicPosition(loop_point);
|
Mix_SetMusicPosition(loop_point);
|
||||||
music_bytes = loop_point/1000.0L*44100.0L*4; //assume 44.1khz, 4-byte length (see I_GetMusicPosition)
|
music_bytes = loop_point*44100.0L*4; //assume 44.1khz, 4-byte length (see I_GetMusicPosition)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
I_StopDigSong();
|
I_StopDigSong();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue