mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- fixed return value of Mus_play
This wasn't always returning false if playback failed.
This commit is contained in:
parent
7bbbe63bd9
commit
1126d5e3d4
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue