mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
M_LevelListFromGametype: Ensure music is continuous when Level Select is entered from Extras menu
Also fixes the same issue for Online mode
This commit is contained in:
parent
fbfb8a507d
commit
8d804872cf
1 changed files with 31 additions and 23 deletions
|
|
@ -214,7 +214,9 @@ boolean M_LevelListFromGametype(INT16 gt)
|
||||||
static boolean first = true;
|
static boolean first = true;
|
||||||
UINT8 temp = 0;
|
UINT8 temp = 0;
|
||||||
|
|
||||||
if (gt != -1 && (first || gt != levellist.newgametype || levellist.guessgt != MAXGAMETYPES))
|
if (gt != -1)
|
||||||
|
{
|
||||||
|
if (first || gt != levellist.newgametype || levellist.guessgt != MAXGAMETYPES)
|
||||||
{
|
{
|
||||||
if (first)
|
if (first)
|
||||||
{
|
{
|
||||||
|
|
@ -244,6 +246,12 @@ boolean M_LevelListFromGametype(INT16 gt)
|
||||||
CV_SetValue(&cv_dummyspbattack, 0);
|
CV_SetValue(&cv_dummyspbattack, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PLAY_CupSelectDef.music = \
|
||||||
|
PLAY_LevelSelectDef.music = \
|
||||||
|
PLAY_TimeAttackDef.music = \
|
||||||
|
currentMenu->music;
|
||||||
|
}
|
||||||
|
|
||||||
// Obviously go to Cup Select in gametypes that have cups.
|
// Obviously go to Cup Select in gametypes that have cups.
|
||||||
// Use a really long level select in gametypes that don't use cups.
|
// Use a really long level select in gametypes that don't use cups.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue