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:
@@ -594,8 +594,7 @@ void ScreenNameEntryTraditional::Finish( PlayerNumber pn )
|
||||
|
||||
// save last used ranking name
|
||||
Profile* pProfile = PROFILEMAN->GetProfile(pn);
|
||||
if( pProfile )
|
||||
pProfile->m_sLastUsedHighScoreName = selection;
|
||||
pProfile->m_sLastUsedHighScoreName = selection;
|
||||
|
||||
TrimRight( selection, " " );
|
||||
TrimLeft( selection, " " );
|
||||
|
||||
Reference in New Issue
Block a user