mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix S_SetMusicLoopPoint wrong method; trigger only on is_looping
This commit is contained in:
parent
1869c21b6d
commit
0a0537d486
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…
Add table
Reference in a new issue