- 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:
parent
648e472744
commit
a7746278a8
16 changed files with 19 additions and 30 deletions
|
|
@ -544,8 +544,7 @@ void P_SerializeSounds(FLevelLocals *Level, FSerializer &arc)
|
|||
if (arc.isReading())
|
||||
{
|
||||
if (!S_ChangeMusic(name, order))
|
||||
if (Level->cdtrack == 0 || !S_ChangeCDMusic(Level->cdtrack, Level->cdid))
|
||||
S_ChangeMusic(Level->Music, Level->musicorder);
|
||||
Level->SetMusic();
|
||||
Level->SetMusicVolume(musvol);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue