mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
piss on music in savegames
git-svn-id: https://svn.eduke32.com/eduke32@1831 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e782dbca61
commit
cdb153fd35
1 changed files with 8 additions and 4 deletions
|
@ -495,11 +495,15 @@ int32_t G_LoadPlayer(int32_t spot)
|
||||||
Bstrcpy(MapInfo[ud.level_number].musicfn,levname);
|
Bstrcpy(MapInfo[ud.level_number].musicfn,levname);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ud.config.MusicToggle && MapInfo[(uint8_t)g_musicIndex].musicfn != NULL &&
|
if (ud.config.MusicToggle)
|
||||||
(i != g_musicIndex || MapInfo[MAXVOLUMES*MAXLEVELS+2].alt_musicfn))
|
|
||||||
{
|
{
|
||||||
S_StopMusic();
|
if (MapInfo[(uint8_t)g_musicIndex].musicfn != NULL &&
|
||||||
S_PlayMusic(&MapInfo[(uint8_t)g_musicIndex].musicfn[0],g_musicIndex);
|
(i != g_musicIndex || MapInfo[MAXVOLUMES*MAXLEVELS+2].alt_musicfn))
|
||||||
|
{
|
||||||
|
S_StopMusic();
|
||||||
|
S_PlayMusic(&MapInfo[(uint8_t)g_musicIndex].musicfn[0],g_musicIndex);
|
||||||
|
}
|
||||||
|
|
||||||
S_PauseMusic(0);
|
S_PauseMusic(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue