- fixed return value of Mus_play

This wasn't always returning false if playback failed.
This commit is contained in:
Christoph Oelckers 2020-02-04 20:32:51 +01:00
parent 7bbbe63bd9
commit 1126d5e3d4

View file

@ -679,8 +679,7 @@ int Mus_Play(const char *mapname, const char *fn, bool loop)
return true;
}
S_ChangeMusic(fn, 0, loop, true);
return mus_playing.handle != nullptr;
return S_ChangeMusic(fn, 0, loop, true);
}
bool Mus_IsPlaying()