This commit is contained in:
Glenn Maynard
2005-06-27 05:24:24 +00:00
parent 67477a6192
commit ebe60c9eb7
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ void BGAnimation::LoadFromAniDir( const CString &_sAniDir, bool bGeneric )
if( pScrollerNode )
{
FOREACH_Attr( pScrollerNode, pAttr )
pBGAnimation->m_attrs.insert( pair<CString,XAttr*>(pAttr->m_sName, pAttr) );
pBGAnimation->m_attrs.insert( make_pair(pAttr->m_sName, pAttr) );
// Clear the copies in the Scroller node so that we don't double-delete.
pScrollerNode->m_attrs.clear();
}