allow loading profile without loading edits

This commit is contained in:
Glenn Maynard
2007-04-24 16:30:23 +00:00
parent 3ddb737cf2
commit 95fb191fb4
6 changed files with 26 additions and 13 deletions
+2 -2
View File
@@ -438,7 +438,7 @@ void GameState::BeginGame()
MEMCARDMAN->UnlockCard( pn );
}
void GameState::LoadProfiles()
void GameState::LoadProfiles( bool bLoadEdits )
{
/* Unlock any cards that we might want to load. */
FOREACH_HumanPlayer( pn )
@@ -457,7 +457,7 @@ void GameState::LoadProfiles()
continue;
MEMCARDMAN->MountCard( pn );
PROFILEMAN->LoadFirstAvailableProfile( pn ); // load full profile
PROFILEMAN->LoadFirstAvailableProfile( pn, bLoadEdits ); // load full profile
MEMCARDMAN->UnmountCard( pn );
LoadCurrentSettingsFromProfile( pn );