don't count high score DP for courses that aren't 100% fixed entries

This commit is contained in:
Chris Danford
2004-03-20 19:24:38 +00:00
parent 5bb79cdc0a
commit a51186e70c
3 changed files with 16 additions and 0 deletions
+10
View File
@@ -752,6 +752,16 @@ bool Course::HasMods() const
return false;
}
bool Course::AllSongsAreFixed() const
{
for( int i=0; i<m_entries.size(); i++ )
{
if( m_entries[i].type != COURSE_ENTRY_FIXED )
return false;
}
return true;
}
void Course::ClearCache()
{
m_InfoCache.clear();