mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 13:10:55 +00:00
Since I had to tweak this branch to do the scrapped changing-to-title-music-at-a-different-time thing (since it was too late, and too late is WAY worse than too early): Have the credits music fade out over a shorter time when going to the title screen (vs going to evaluation), as opposed to stopping entirely.
This commit is contained in:
parent
efa609d366
commit
fdd681ab72
1 changed files with 3 additions and 3 deletions
|
@ -1385,15 +1385,16 @@ boolean F_CreditResponder(event_t *event)
|
||||||
|
|
||||||
void F_StartGameEvaluation(void)
|
void F_StartGameEvaluation(void)
|
||||||
{
|
{
|
||||||
S_FadeOutStopMusic(5*MUSICRATE);
|
|
||||||
|
|
||||||
// Credits option in secrets menu
|
// Credits option in secrets menu
|
||||||
if (cursaveslot == -1)
|
if (cursaveslot == -1)
|
||||||
{
|
{
|
||||||
|
S_FadeOutStopMusic(2*MUSICRATE);
|
||||||
F_StartGameEnd();
|
F_StartGameEnd();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
S_FadeOutStopMusic(5*MUSICRATE);
|
||||||
|
|
||||||
G_SetGamestate(GS_EVALUATION);
|
G_SetGamestate(GS_EVALUATION);
|
||||||
|
|
||||||
// Just in case they're open ... somehow
|
// Just in case they're open ... somehow
|
||||||
|
@ -2153,7 +2154,6 @@ void F_StartGameEnd(void)
|
||||||
gameaction = ga_nothing;
|
gameaction = ga_nothing;
|
||||||
paused = false;
|
paused = false;
|
||||||
CON_ToggleOff();
|
CON_ToggleOff();
|
||||||
S_StopMusic();
|
|
||||||
S_StopSounds();
|
S_StopSounds();
|
||||||
|
|
||||||
// In case menus are still up?!!
|
// In case menus are still up?!!
|
||||||
|
|
Loading…
Reference in a new issue