mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-18 16:30:58 +00:00
Fixed loop point counter bug
This commit is contained in:
parent
5487fd5be0
commit
3e7d7cfcae
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ static void music_loop(void)
|
|||
{
|
||||
Mix_PlayMusic(music, 0);
|
||||
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
|
||||
I_StopDigSong();
|
||||
|
|
Loading…
Reference in a new issue