Don't override loop point if unset in MUSICDEF

This commit is contained in:
James R 2020-02-07 12:51:21 -08:00
parent c4ee113c71
commit 3d00596c6a

View file

@ -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;
}
}