This commit is contained in:
Glenn Maynard
2004-06-03 20:49:10 +00:00
parent b1bbce2edb
commit 6696e26acf
3 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -87,15 +87,15 @@ void CourseEntryDisplay::SetDifficulty( PlayerNumber pn, const CString &text, Ra
m_textFoot[pn].SetDiffuse( c );
}
void CourseEntryDisplay::LoadFromTrailEntry( int iNum, const Course *pCourse, TrailEntry *tes[NUM_PLAYERS] )
void CourseEntryDisplay::LoadFromTrailEntry( int iNum, const TrailEntry *tes[NUM_PLAYERS] )
{
TrailEntry *te = tes[GAMESTATE->m_MasterPlayerNumber];
const TrailEntry *te = tes[GAMESTATE->m_MasterPlayerNumber];
bool bMystery = te->bMystery;
if( bMystery )
{
FOREACH_EnabledPlayer(pn)
{
TrailEntry *te = tes[pn];
const TrailEntry *te = tes[pn];
Difficulty dc = te->dc;
if( dc == DIFFICULTY_INVALID )
{
@@ -114,7 +114,7 @@ void CourseEntryDisplay::LoadFromTrailEntry( int iNum, const Course *pCourse, Tr
{
FOREACH_EnabledPlayer(pn)
{
TrailEntry *te = tes[pn];
const TrailEntry *te = tes[pn];
RageColor colorNotes = SONGMAN->GetDifficultyColor( te->pSteps->GetDifficulty() );
SetDifficulty( pn, ssprintf("%d", te->pSteps->GetMeter()), colorNotes );
}