From 5135b7b27c97f3fd61564fe1f27070beba176d87 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 11 Feb 2007 00:30:44 +0000 Subject: [PATCH] use templated GetValue, not old RString GetValue() --- stepmania/src/Profile.cpp | 2 +- stepmania/src/Workout.cpp | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Profile.cpp b/stepmania/src/Profile.cpp index 5a790e2b7c..107beaaa21 100644 --- a/stepmania/src/Profile.cpp +++ b/stepmania/src/Profile.cpp @@ -1242,7 +1242,7 @@ void Profile::LoadGeneralDataFromNode( const XNode* pNode ) { FOREACH_CONST_Child( pDefaultModifiers, game_type ) { - m_sDefaultModifiers[game_type->GetName()] = game_type->GetValue(); + game_type->GetValue( m_sDefaultModifiers[game_type->GetName()] ); } } } diff --git a/stepmania/src/Workout.cpp b/stepmania/src/Workout.cpp index 50a64e8860..eaacdfc49f 100644 --- a/stepmania/src/Workout.cpp +++ b/stepmania/src/Workout.cpp @@ -189,7 +189,11 @@ bool Workout::LoadFromFile( RString sFile ) FOREACH_CONST_Child( songGenres, songGenre ) { if( songGenre->GetName() == "SongGenre" ) - m_vsSongGenres.push_back( songGenre->GetValue() ); + { + RString s; + songGenre->GetValue( s ); + m_vsSongGenres.push_back( s ); + } } } return true;