Add and use accessors for most of Notes.
Don't autogen data until it's needed.
This commit is contained in:
@@ -108,7 +108,7 @@ void GrooveRadar::GrooveRadarValueMap::SetFromNotes( PlayerNumber pn, Notes* pNo
|
||||
{
|
||||
const float fValueCurrent = m_fValuesOld[pn][c] * (1-m_PercentTowardNew[pn]) + m_fValuesNew[pn][c] * m_PercentTowardNew[pn];
|
||||
m_fValuesOld[pn][c] = fValueCurrent;
|
||||
m_fValuesNew[pn][c] = pNotes->m_fRadarValues[c];
|
||||
m_fValuesNew[pn][c] = pNotes->GetRadarValues()[c];
|
||||
}
|
||||
|
||||
if( m_bValuesVisible[pn] == false ) // the values WERE invisible
|
||||
|
||||
Reference in New Issue
Block a user