Fix streamersafemusic Cvar
This commit is contained in:
parent
71dd3666b8
commit
b181133810
1 changed files with 6 additions and 0 deletions
|
|
@ -261,6 +261,7 @@ void S_RegisterSoundStuff(void)
|
|||
CV_RegisterVar(&cv_samplerate);
|
||||
CV_RegisterVar(&cv_playsoundifunfocused);
|
||||
CV_RegisterVar(&cv_playmusicifunfocused);
|
||||
CV_RegisterVar(&cv_streamersafemusic);
|
||||
CV_RegisterVar(&cv_gamesounds);
|
||||
CV_RegisterVar(&cv_gamedigimusic);
|
||||
|
||||
|
|
@ -1699,6 +1700,11 @@ void S_ShowMusicCredit(void)
|
|||
return;
|
||||
}
|
||||
|
||||
if (def->contentidunsafe && cv_streamersafemusic.value)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
work = va("\x1F %s", def->title);
|
||||
worklen = strlen(work);
|
||||
if (worklen <= len)
|
||||
|
|
|
|||
Loading…
Reference in a new issue