Simple loop to handle.

This commit is contained in:
Jason Felds
2013-04-28 17:52:48 -04:00
parent 35c22dc21f
commit dd00979309
+1 -2
View File
@@ -46,9 +46,8 @@ void BGAnimation::AddLayersFromAniDir( const RString &_sAniDir, const XNode *pNo
sort( vsLayerNames.begin(), vsLayerNames.end(), CompareLayerNames ); sort( vsLayerNames.begin(), vsLayerNames.end(), CompareLayerNames );
FOREACH_CONST( RString, vsLayerNames, s ) for (RString const &sLayer : vsLayerNames)
{ {
const RString &sLayer = *s;
const XNode* pKey = pNode->GetChild( sLayer ); const XNode* pKey = pNode->GetChild( sLayer );
ASSERT( pKey != NULL ); ASSERT( pKey != NULL );