remove construct-and-open RageFile ctor

This commit is contained in:
Glenn Maynard
2004-09-25 02:50:31 +00:00
parent ec44af425a
commit 2e6ffb73e0
6 changed files with 13 additions and 28 deletions
+2 -3
View File
@@ -1610,9 +1610,8 @@ void GameState::StoreRankingName( PlayerNumber pn, CString name )
// Filter swear words from name
//
name.MakeUpper();
RageFile file(NAMES_BLACKLIST_FILE);
if (file.IsOpen())
RageFile file;
if( file.Open(NAMES_BLACKLIST_FILE) )
{
CString line;