profile cleanup

This commit is contained in:
Chris Danford
2004-02-22 02:15:34 +00:00
parent 8d7f11d756
commit 455d4a8383
8 changed files with 379 additions and 128 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ CString ProfileManager::GetPlayerName( PlayerNumber pn ) const
{
const Profile *prof = GetProfile( pn );
if( prof )
return prof->m_sLastUsedHighScoreName;
return prof->GetDisplayName();
const char *names[NUM_PLAYERS] = { "PLAYER 1", "PLAYER 2" };
return names[pn];