const
This commit is contained in:
@@ -68,7 +68,7 @@ void BannerCache::Demand()
|
||||
if( PREFSMAN->m_BannerCache != BNCACHE_LOW_RES_LOAD_ON_DEMAND )
|
||||
return;
|
||||
|
||||
FOREACH_Child( &BannerData, p )
|
||||
FOREACH_CONST_Child( &BannerData, p )
|
||||
{
|
||||
RString sBannerPath = p->GetName();
|
||||
|
||||
|
||||
@@ -146,7 +146,7 @@ void TitleSubst::Load(const RString &filename, const RString §ion)
|
||||
XNode *pGroup = xml.GetChild( section );
|
||||
if( pGroup == NULL )
|
||||
return;
|
||||
FOREACH_Child( pGroup, child )
|
||||
FOREACH_CONST_Child( pGroup, child )
|
||||
{
|
||||
if( child->GetName() != "Translation" )
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user