GetModifierNames: use vector not set for easier interaction with Lua

This commit is contained in:
Chris Danford
2005-05-22 15:03:03 +00:00
parent ab69380599
commit cac3d56730
3 changed files with 10 additions and 7 deletions
+2 -2
View File
@@ -305,9 +305,9 @@ void SaveCatalogXml( LoadingWindow *loading_window )
}
{
set<CString> modifiers;
vector<CString> modifiers;
THEME->GetModifierNames( modifiers );
for( set<CString>::const_iterator iter = modifiers.begin(); iter != modifiers.end(); iter++ )
FOREACH_CONST( CString, modifiers, iter )
{
XNode* pNode2 = pNode->AppendChild( "Modifier", *iter );
PlayerOptions po;