fix for both VC6 and VC7

This commit is contained in:
Chris Danford
2005-08-05 18:18:08 +00:00
parent dff74c88da
commit 1e074fbeae
+2 -1
View File
@@ -1810,7 +1810,8 @@ StepsType Profile::GetLastPlayedStepsType() const
{
if( m_vRecentStepsScores.empty() )
return STEPS_TYPE_INVALID;
return m_vRecentStepsScores.back()->stepsID.GetStepsType();
const HighScoreForASongAndSteps &h = m_vRecentStepsScores.back();
return h.stepsID.GetStepsType();
}
const Profile::HighScoresForASong *Profile::GetHighScoresForASong( const SongID& songID ) const