SetLoadedFromProfile when the Steps are created, not when they are saved

This commit is contained in:
Chris Danford
2005-12-06 23:44:01 +00:00
parent 9c8caf4c72
commit 66c5a45117
13 changed files with 202 additions and 186 deletions
+15
View File
@@ -225,6 +225,21 @@ void ScreenEditMenu::MenuStart( PlayerNumber pn )
// Yuck. Doing the memory allocation doesn't seem right since
// Song allocates all of the other Steps.
pSteps = new Steps;
switch( m_Selector.EDIT_MODE )
{
default:
ASSERT(0);
case EditMode_Full:
break;
case EditMode_Home:
pSteps->SetLoadedFromProfile( ProfileSlot_Machine );
break;
case EditMode_Practice:
ASSERT(0);
break;
}
CString sEditName;
if( pSourceSteps )
{