mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-20 04:21:52 +00:00
Slow down level music in Encore - "vape mode"
This commit is contained in:
parent
b681fe226a
commit
5a703240bd
2 changed files with 3 additions and 5 deletions
|
|
@ -873,8 +873,6 @@ skippingposition:
|
|||
if (jingle == NULL)
|
||||
return;
|
||||
|
||||
S_SpeedMusic(1.0f);
|
||||
|
||||
S_ChangeMusicInternal(jingle, false);
|
||||
}
|
||||
|
||||
|
|
@ -894,8 +892,6 @@ void P_RestoreMusic(player_t *player)
|
|||
return;
|
||||
}
|
||||
|
||||
S_SpeedMusic(1.0f);
|
||||
|
||||
// Event - HERE COMES A NEW CHALLENGER
|
||||
if (mapreset)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2801,6 +2801,9 @@ void S_ChangeMusicEx(const char *mmusic, UINT16 mflags, boolean looping, UINT32
|
|||
I_SetSongPosition(position);
|
||||
|
||||
I_SetSongTrack(mflags & MUSIC_TRACKMASK);
|
||||
|
||||
// Slow level music down a bit in Encore. (Values are vibe-based. WE GET IT YOU VAPE)
|
||||
S_SpeedMusic((encoremode && gamestate == GS_LEVEL) ? 0.86471f : 1.f);
|
||||
}
|
||||
else if (fadeinms) // let fades happen with same music
|
||||
{
|
||||
|
|
@ -2833,7 +2836,6 @@ void S_StopMusic(void)
|
|||
if (I_SongPaused())
|
||||
I_ResumeSong();
|
||||
|
||||
S_SpeedMusic(1.0f);
|
||||
I_StopSong();
|
||||
S_UnloadMusic(); // for now, stopping also means you unload the song
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue