- ported music start fix from GZDoom.

This commit is contained in:
Christoph Oelckers 2020-02-22 16:12:40 +01:00
parent 3c88e1c30a
commit 8e9491b5e4

View file

@ -405,7 +405,7 @@ bool S_ChangeMusic(const char* musicname, int order, bool looping, bool force)
}
else if (!ZMusic_IsPlaying(mus_playing.handle))
{
if (!ZMusic_Start(mus_playing.handle, looping, order))
if (!ZMusic_Start(mus_playing.handle, order, looping))
{
Printf("Unable to start %s: %s\n", mus_playing.name.GetChars(), ZMusic_GetLastError());
}