This commit is contained in:
Glenn Maynard
2004-09-07 09:16:08 +00:00
parent b1cdc58893
commit 6fda4030ee
+5 -1
View File
@@ -38,6 +38,10 @@ void SaveCatalogXml()
xml.name = "Catalog";
{
bool ShowStepsType[NUM_STEPS_TYPES];
FOREACH_StepsType( st )
ShowStepsType[st] = SHOW_STEPS_TYPE( st );
XNode* pNode = xml.AppendChild( "Songs" );
vector<Song*> vpSongs = SONGMAN->GetAllSongs();
@@ -63,7 +67,7 @@ void SaveCatalogXml()
FOREACH_StepsType( st )
{
if( !SHOW_STEPS_TYPE(st) )
if( !ShowStepsType[st] )
continue; // skip
for( set<Difficulty>::const_iterator iter = vDiffs.begin(); iter != vDiffs.end(); iter++ )