remove DEFAULT_RANKING_NAME. Empty string means "no name", and the default name should always be empty.

This commit is contained in:
Chris Danford
2004-02-11 04:06:27 +00:00
parent ae683f8293
commit 5e39cb5471
4 changed files with 2 additions and 8 deletions
+2 -1
View File
@@ -1324,8 +1324,9 @@ void GameState::StoreRankingName( PlayerNumber pn, CString name )
line.MakeUpper();
if( !line.empty() && name.Find(line) != -1 ) // name contains a bad word
{
LOG->Trace( "name '%s' contains bad word and will be blanked", name.c_str() );
LOG->Trace( "entered '%s' matches blacklisted item '%s'", name.c_str(), line.c_str() );
name = "";
break;
}
}
}