use templated GetValue, not old RString GetValue()
This commit is contained in:
@@ -1242,7 +1242,7 @@ void Profile::LoadGeneralDataFromNode( const XNode* pNode )
|
|||||||
{
|
{
|
||||||
FOREACH_CONST_Child( pDefaultModifiers, game_type )
|
FOREACH_CONST_Child( pDefaultModifiers, game_type )
|
||||||
{
|
{
|
||||||
m_sDefaultModifiers[game_type->GetName()] = game_type->GetValue();
|
game_type->GetValue( m_sDefaultModifiers[game_type->GetName()] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -189,7 +189,11 @@ bool Workout::LoadFromFile( RString sFile )
|
|||||||
FOREACH_CONST_Child( songGenres, songGenre )
|
FOREACH_CONST_Child( songGenres, songGenre )
|
||||||
{
|
{
|
||||||
if( songGenre->GetName() == "SongGenre" )
|
if( songGenre->GetName() == "SongGenre" )
|
||||||
m_vsSongGenres.push_back( songGenre->GetValue() );
|
{
|
||||||
|
RString s;
|
||||||
|
songGenre->GetValue( s );
|
||||||
|
m_vsSongGenres.push_back( s );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user