optimize profile loading

This commit is contained in:
Chris Danford
2004-03-29 06:47:10 +00:00
parent ef193252bc
commit d6e52f6aac
6 changed files with 31 additions and 29 deletions
+2
View File
@@ -201,6 +201,8 @@ void GameState::PlayersFinalized()
// apply saved default modifiers if any
FOREACH_HumanPlayer( pn )
{
PROFILEMAN->LoadFirstAvailableProfile( pn, false ); // load full profile
if( !PROFILEMAN->IsUsingProfile(pn) )
continue; // skip