add graphic for courses that have mods

This commit is contained in:
Chris Danford
2004-03-13 23:11:57 +00:00
parent c2fa441b7e
commit 370839215f
5 changed files with 47 additions and 0 deletions
+11
View File
@@ -741,6 +741,17 @@ void Course::GetCourseInfo( StepsType nt, vector<Course::Info> &ci, CourseDiffic
m_InfoCache[params] = ci;
}
bool Course::HasMods() const
{
for( int i=0; i<m_entries.size(); i++ )
{
if( !m_entries[i].modifiers.empty() )
return true;
}
return false;
}
void Course::ClearCache()
{
m_InfoCache.clear();