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
+8 -1
View File
@@ -6,6 +6,13 @@
REGISTER_SCREEN_CLASS( ScreenProfileLoad );
void ScreenProfileLoad::Init()
{
LOAD_EDITS.Load( m_sName, "LoadEdits" );
ScreenWithMenuElements::Init();
}
void ScreenProfileLoad::BeginScreen()
{
m_bHaveProfileToLoad = GAMESTATE->HaveProfileToLoad();
@@ -27,7 +34,7 @@ void ScreenProfileLoad::Continue()
{
if( m_bHaveProfileToLoad )
{
GAMESTATE->LoadProfiles();
GAMESTATE->LoadProfiles( LOAD_EDITS );
SCREENMAN->ZeroNextUpdate();
}