don't allow autogen match when reloading in the editor

This commit is contained in:
Chris Danford
2004-04-18 08:32:45 +00:00
parent b217774f88
commit e285500f27
+5
View File
@@ -1425,6 +1425,11 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
CString sMessage = "Reloaded from disk.";
Steps *pSteps = id.ToSteps( GAMESTATE->m_pCurSong, false );
// Don't allow an autogen match. This can't be what they chose to
// edit originally because autogen steps are hidden.
if( pSteps->IsAutogen() )
pSteps = NULL;
/* If we couldn't find the steps we were on before, warn and use the first available. */
if( pSteps == NULL )
{