Use attributes where possible

This commit is contained in:
Martin Natano
2023-04-20 11:21:29 +02:00
parent a93fc07896
commit 093675cdc3
23 changed files with 142 additions and 133 deletions
+1 -1
View File
@@ -1852,7 +1852,7 @@ void ScreenSelectMusic::AfterMusicChange()
// we want to load the sample music, but we don't want to
// actually play it. fall through. -aj
case SampleMusicPreviewMode_Normal:
case SampleMusicPreviewMode_LastSong: // fall through
case SampleMusicPreviewMode_LastSong:
// play the sample music
m_sSampleMusicToPlay = pSong->GetPreviewMusicPath();
if(!m_sSampleMusicToPlay.empty() && ActorUtil::GetFileType(m_sSampleMusicToPlay) != FT_Sound)