Course::RegenerateNonFixedTrails in place

This commit is contained in:
Glenn Maynard
2007-08-10 20:30:54 +00:00
parent 875835765a
commit 3cf62ae333
+8 -2
View File
@@ -779,8 +779,14 @@ void Course::RegenerateNonFixedTrails() const
// We can create these Trails on demand because we don't
// calculate RadarValues for Trails with one or more non-fixed
// entry.
if( !AllSongsAreFixed() )
m_TrailCache.clear();
if( AllSongsAreFixed() )
return;
FOREACHM( CacheEntry, CacheData, m_TrailCache, e )
{
const CacheEntry &ce = e->first;
GetTrailForceRegenCache( ce.first, ce.second );
}
}
RageColor Course::GetColor() const