diff --git a/stepmania/src/ScreenSelectMusic.cpp b/stepmania/src/ScreenSelectMusic.cpp index c33c8d09fc..90220c98df 100644 --- a/stepmania/src/ScreenSelectMusic.cpp +++ b/stepmania/src/ScreenSelectMusic.cpp @@ -76,9 +76,15 @@ ScreenSelectMusic::ScreenSelectMusic( CString sClassName ) : ScreenWithMenuEleme // pop'n music has this under the songwheel... FOREACH_PlayerNumber( p ) { - Character* pChar = GAMESTATE->m_pCurCharacters[p]; m_sprCharacterIcon[p].SetName( ssprintf("CharacterIconP%d",p+1) ); - m_sprCharacterIcon[p].Load( pChar->GetSongSelectIconPath() ); + + Character* pChar = GAMESTATE->m_pCurCharacters[p]; + CString sPath = pChar->GetSongSelectIconPath(); + + if( sPath.empty() ) + continue; + + m_sprCharacterIcon[p].Load( sPath ); SET_XY( m_sprCharacterIcon[p] ); this->AddChild( &m_sprCharacterIcon[p] ); }