fix wrong defalt player name shown

This commit is contained in:
Chris Danford
2004-05-26 06:59:38 +00:00
parent 8f4792dd6a
commit f4beffa87e
+1 -1
View File
@@ -400,7 +400,7 @@ void ScreenOptions::Init( InputMode im, OptionRowData OptionRows[], int iNumOpti
{
m_textPlayerName[p].LoadFromFont( THEME->GetPathToF( "ScreenOptions player") );
m_textPlayerName[p].SetName( ssprintf("PlayerNameP%i",p+1) );
m_textPlayerName[p].SetText( PROFILEMAN->GetPlayerName((PlayerNumber)p) );
m_textPlayerName[p].SetText( GAMESTATE->GetPlayerDisplayName((PlayerNumber)p) );
UtilSetXYAndOnCommand( m_textPlayerName[p], "ScreenOptions" );
m_framePage.AddChild( &m_textPlayerName[p] );
}