don't FinishStage in BeginStage
This commit is contained in:
@@ -495,10 +495,6 @@ void GameState::BeginStage()
|
|||||||
if( m_iNumStagesOfThisSong != 0 )
|
if( m_iNumStagesOfThisSong != 0 )
|
||||||
LOG->Warn( "XXX: m_iNumStagesOfThisSong == %i?", m_iNumStagesOfThisSong );
|
LOG->Warn( "XXX: m_iNumStagesOfThisSong == %i?", m_iNumStagesOfThisSong );
|
||||||
|
|
||||||
/* Finish the last stage (if any), if we havn't already. (For example, we might
|
|
||||||
* have, for some reason, gone from gameplay to evaluation straight back to gameplay.) */
|
|
||||||
FinishStage();
|
|
||||||
|
|
||||||
ResetStageStatistics();
|
ResetStageStatistics();
|
||||||
|
|
||||||
ARE_STAGE_MODS_FORCED.Read(); // XXX: where does this belong?
|
ARE_STAGE_MODS_FORCED.Read(); // XXX: where does this belong?
|
||||||
|
|||||||
@@ -379,6 +379,10 @@ void ScreenGameplay::Init()
|
|||||||
GAMESTATE->SaveCurrentSettingsToProfile(pn);
|
GAMESTATE->SaveCurrentSettingsToProfile(pn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Finish the last stage, if we havn't already. (For example, we might have
|
||||||
|
* gone from gameplay to evaluation back to gameplay.) */
|
||||||
|
GAMESTATE->FinishStage();
|
||||||
|
|
||||||
/* Called once per stage (single song or single course). */
|
/* Called once per stage (single song or single course). */
|
||||||
GAMESTATE->BeginStage();
|
GAMESTATE->BeginStage();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user