mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
S_MusicPlaying safety
This commit is contained in:
parent
7c3578896c
commit
1ec90ba21e
1 changed files with 1 additions and 1 deletions
|
|
@ -1699,7 +1699,7 @@ boolean S_MusicPaused(void)
|
||||||
|
|
||||||
const char *S_GetMusicName(void)
|
const char *S_GetMusicName(void)
|
||||||
{
|
{
|
||||||
return music_name;
|
return S_MusicPlaying() ? music_name : "\0";
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean S_MusicExists(const char *mname, boolean checkMIDI, boolean checkDigi)
|
boolean S_MusicExists(const char *mname, boolean checkMIDI, boolean checkDigi)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue