StepsType_Invalid

This commit is contained in:
Glenn Maynard
2006-09-26 20:28:46 +00:00
parent a7b53444f8
commit f806ec5936
18 changed files with 40 additions and 40 deletions
+2 -2
View File
@@ -1525,7 +1525,7 @@ void Profile::LoadCategoryScoresFromNode( const XNode* pCategoryScores )
if( !pStepsType->GetAttrValue( "Type", str ) )
WARN_AND_CONTINUE;
StepsType st = GameManager::StringToStepsType( str );
if( st == STEPS_TYPE_INVALID )
if( st == StepsType_Invalid )
WARN_AND_CONTINUE_M( str );
FOREACH_CONST_Child( pStepsType, pRadarCategory )
@@ -1822,7 +1822,7 @@ void Profile::AddCourseRecentScore( const Course* pCourse, const Trail* pTrail,
StepsType Profile::GetLastPlayedStepsType() const
{
if( m_vRecentStepsScores.empty() )
return STEPS_TYPE_INVALID;
return StepsType_Invalid;
const HighScoreForASongAndSteps &h = m_vRecentStepsScores.back();
return h.stepsID.GetStepsType();
}