- a few remaining simple ones

This also removes a few pointless comments that popped up and consolidates setting a level's music into a subfuntion.
This commit is contained in:
Christoph Oelckers 2019-01-28 01:25:52 +01:00
commit a7746278a8
16 changed files with 19 additions and 30 deletions

View file

@ -458,8 +458,7 @@ void S_Start ()
// Don't start the music if revisiting a level in a hub for the same reason.
if (!currentUILevel->IsReentering())
{
if (currentUILevel->cdtrack == 0 || !S_ChangeCDMusic (currentUILevel->cdtrack, currentUILevel->cdid))
S_ChangeMusic (currentUILevel->Music, currentUILevel->musicorder);
currentUILevel->SetMusic();
}
}