fix course mode

This commit is contained in:
Glenn Maynard
2004-01-31 09:53:48 +00:00
parent 5870ad19b3
commit 1a2df1e440
2 changed files with 6 additions and 3 deletions
+3 -3
View File
@@ -528,9 +528,6 @@ ScreenGameplay::ScreenGameplay( CString sName, bool bDemonstration ) : Screen("S
m_textStepsDescription[p].LoadFromFont( THEME->GetPathToF("ScreenGameplay StepsDescription") );
m_textStepsDescription[p].SetName( ssprintf("StepsDescriptionP%i",p+1) );
Steps* pSteps = GAMESTATE->m_pCurNotes[p];
ASSERT( pSteps );
m_textStepsDescription[p].SetText( pSteps->GetDescription() );
SET_XY( m_textStepsDescription[p] );
this->AddChild( &m_textStepsDescription[p] );
}
@@ -863,6 +860,9 @@ void ScreenGameplay::LoadNextSong()
SetupSong( p, iPlaySongIndex );
ASSERT( GAMESTATE->m_pCurNotes[p] );
m_textStepsDescription[p].SetText( GAMESTATE->m_pCurNotes[p]->GetDescription() );
/* Increment the play count even if the player fails. (It's still popular,
* even if the people playing it aren't good at it.) */
if( !m_bDemonstration )
+3
View File
@@ -21,6 +21,9 @@ SongCreditDisplay::SongCreditDisplay()
this->LoadFromFont( THEME->GetPathToF("SongCreditDisplay",(CString)"text") );
Song* pSong = GAMESTATE->m_pCurSong;
if( pSong == NULL ) /* probably course mode */
return;
CString s;
s += pSong->GetFullDisplayTitle() + "\n";
s += pSong->GetDisplayArtist() + "\n";