fix warning in jukebox
This commit is contained in:
@@ -585,6 +585,9 @@ static int GetNumStagesForCurrentSong()
|
|||||||
/* Called by ScreenGameplay. Set the length of the current song. */
|
/* Called by ScreenGameplay. Set the length of the current song. */
|
||||||
void GameState::BeginStage()
|
void GameState::BeginStage()
|
||||||
{
|
{
|
||||||
|
if( m_bDemonstrationOrJukebox )
|
||||||
|
return;
|
||||||
|
|
||||||
/* This should only be called once per stage. */
|
/* This should only be called once per stage. */
|
||||||
if( m_iNumStagesOfThisSong != 0 )
|
if( m_iNumStagesOfThisSong != 0 )
|
||||||
LOG->Warn( "XXX: m_iNumStagesOfThisSong == %i?", m_iNumStagesOfThisSong );
|
LOG->Warn( "XXX: m_iNumStagesOfThisSong == %i?", m_iNumStagesOfThisSong );
|
||||||
|
|||||||
Reference in New Issue
Block a user