use GetName, GetValue, SetValue

This commit is contained in:
Glenn Maynard
2006-10-02 06:26:25 +00:00
parent f0fe542b2f
commit e3483ba3be
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ void BGAnimation::AddLayersFromAniDir( const RString &_sAniDir, const XNode *pNo
vector<RString> vsLayerNames;
FOREACH_CONST_Child( pNode, pLayer )
{
if( strncmp(pLayer->m_sName, "Layer", 5) == 0 )
vsLayerNames.push_back( pLayer->m_sName );
if( strncmp(pLayer->GetName(), "Layer", 5) == 0 )
vsLayerNames.push_back( pLayer->GetName() );
}
sort( vsLayerNames.begin(), vsLayerNames.end(), CompareLayerNames );