Once CurrentStringIndex is equal to MAX_RANKING_NAME_LENGTH, it isn't going to change so break.

This commit is contained in:
Steve Checkoway
2006-10-16 08:27:49 +00:00
parent 07d33c3935
commit 15a60d7f9d
+1 -1
View File
@@ -191,7 +191,7 @@ void ScreenNameEntry::Init()
for( int iCol=0; iCol<pStyle->m_iColsPerPlayer; iCol++ )
{
if( CurrentStringIndex == MAX_RANKING_NAME_LENGTH )
continue; /* We have enough columns. */
break; /* We have enough columns. */
/* Find out if this column is associated with the START menu button. */
GameInput gi = GAMESTATE->GetCurrentStyle()->StyleInputToGameInput( iCol, p );