fix wrong defalt player name shown

This commit is contained in:
Chris Danford
2004-05-26 07:16:22 +00:00
parent f4beffa87e
commit 63e47ab251
+1 -1
View File
@@ -396,7 +396,7 @@ void ScreenOptions::Init( InputMode im, OptionRowData OptionRows[], int iNumOpti
* the player name is meaningful. Otherwise, we're probably in the system menu. */
if( GAMESTATE->m_CurStyle != STYLE_INVALID )
{
FOREACH_PlayerNumber( p )
FOREACH_HumanPlayer( p )
{
m_textPlayerName[p].LoadFromFont( THEME->GetPathToF( "ScreenOptions player") );
m_textPlayerName[p].SetName( ssprintf("PlayerNameP%i",p+1) );