mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-19 16:51:53 +00:00
Fix S_SetMusicLoopPoint wrong method; trigger only on is_looping
This commit is contained in:
parent
5f564f7798
commit
5487fd5be0
2 changed files with 2 additions and 2 deletions
|
@ -1429,7 +1429,7 @@ UINT32 S_GetMusicLength(void)
|
|||
|
||||
boolean S_SetMusicLoopPoint(UINT32 looppoint)
|
||||
{
|
||||
return I_SetMusicPosition(looppoint);
|
||||
return I_SetMusicLoopPoint(looppoint);
|
||||
}
|
||||
|
||||
UINT32 S_GetMusicLoopPoint(void)
|
||||
|
|
|
@ -942,7 +942,7 @@ UINT32 I_GetMusicLength(void)
|
|||
|
||||
boolean I_SetMusicLoopPoint(UINT32 looppoint)
|
||||
{
|
||||
if (midimode || gme || !music || I_MusicType() == MU_MOD)
|
||||
if (midimode || gme || !music || I_MusicType() == MU_MOD || !is_looping)
|
||||
return false;
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue