mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Evaluation: play "credits_silence" tune before "credits" to mask any trace of level music from demos
"level_nosync" was reactivating via P_Ticker from credits demo and showing a music credit for a brief moment, where there should not be any music credit.
This commit is contained in:
parent
46c70d2683
commit
b7b420819b
2 changed files with 8 additions and 0 deletions
|
|
@ -412,6 +412,7 @@ void F_StartCredits(void)
|
||||||
Music_StopAll();
|
Music_StopAll();
|
||||||
S_StopSounds();
|
S_StopSounds();
|
||||||
|
|
||||||
|
Music_Play("credits_silence"); // mask any music changes from demos
|
||||||
F_NewCreditsMusic("_creds", false);
|
F_NewCreditsMusic("_creds", false);
|
||||||
|
|
||||||
F_CreditsReset();
|
F_CreditsReset();
|
||||||
|
|
|
||||||
|
|
@ -164,6 +164,13 @@ void Music_Init(void)
|
||||||
tune.credit = false;
|
tune.credit = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
Tune& tune = g_tunes.insert("credits_silence");
|
||||||
|
|
||||||
|
tune.song = "";
|
||||||
|
tune.priority = 100;
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
Tune& tune = g_tunes.insert("credits");
|
Tune& tune = g_tunes.insert("credits");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue