fix ScreenEnding shows stats when not using a memory card
fix other bugs introduced when GetProfile was changed to return a valid pointer even with no profile loaded
This commit is contained in:
@@ -414,8 +414,7 @@ void ScreenNameEntry::MenuStart( PlayerNumber pn )
|
||||
|
||||
// save last used ranking name
|
||||
Profile* pProfile = PROFILEMAN->GetProfile(pn);
|
||||
if( pProfile )
|
||||
pProfile->m_sLastUsedHighScoreName = m_sSelectedName[pn];
|
||||
pProfile->m_sLastUsedHighScoreName = m_sSelectedName[pn];
|
||||
|
||||
TrimRight( m_sSelectedName[pn], " " );
|
||||
TrimLeft( m_sSelectedName[pn], " " );
|
||||
|
||||
Reference in New Issue
Block a user