mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Don't override loop point if unset in MUSICDEF
This commit is contained in:
parent
c4ee113c71
commit
3d00596c6a
1 changed files with 2 additions and 1 deletions
|
@ -2283,7 +2283,8 @@ static boolean S_PlayMusic(boolean looping, UINT32 fadeinms)
|
|||
{
|
||||
if (strcasecmp(def->name, music_name) == 0)
|
||||
{
|
||||
S_SetMusicLoopPoint(def->loop_ms);
|
||||
if (def->loop_ms)
|
||||
S_SetMusicLoopPoint(def->loop_ms);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue