clean up Characters error message

This commit is contained in:
Chris Danford
2003-11-01 06:30:17 +00:00
parent 04680abf76
commit 16e3bef257
+5 -3
View File
@@ -226,9 +226,11 @@ void GameState::ReloadCharacters()
} }
if( !FoundDefault ) if( !FoundDefault )
RageException::Throw( "Couldn't find \"Characters" SLASH "default\"" ); RageException::Throw( "'Characters" SLASH "default' is missing." );
if( !m_pCharacters.size() )
RageException::Throw( "Couldn't find any character definitions" ); // If FoundDefault, then we're not empty. -Chris
// if( m_pCharacters.empty() )
// RageException::Throw( "Couldn't find any character definitions" );
} }
const float GameState::MUSIC_SECONDS_INVALID = -5000.0f; const float GameState::MUSIC_SECONDS_INVALID = -5000.0f;