remove m_bComboContinuesBetweenSongs
This commit is contained in:
@@ -789,24 +789,7 @@ void GameState::ResetMusicStatistics()
|
||||
|
||||
void GameState::ResetStageStatistics()
|
||||
{
|
||||
StageStats OldStats = STATSMAN->m_CurStageStats;
|
||||
STATSMAN->m_CurStageStats = StageStats();
|
||||
if( PREFSMAN->m_bComboContinuesBetweenSongs )
|
||||
{
|
||||
FOREACH_PlayerNumber( p )
|
||||
{
|
||||
bool bFirstSong = m_iPlayerCurrentStageIndexForCurrentCredit[p] == 0;
|
||||
if( bFirstSong )
|
||||
{
|
||||
Profile* pProfile = PROFILEMAN->GetProfile(p);
|
||||
STATSMAN->m_CurStageStats.m_player[p].m_iCurCombo = pProfile->m_iCurrentCombo;
|
||||
}
|
||||
else
|
||||
{
|
||||
STATSMAN->m_CurStageStats.m_player[p].m_iCurCombo = OldStats.m_player[p].m_iCurCombo;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
RemoveAllActiveAttacks();
|
||||
FOREACH_PlayerNumber( p )
|
||||
|
||||
@@ -189,7 +189,6 @@ PrefsManager::PrefsManager() :
|
||||
m_iCoinsPerCredit ( "CoinsPerCredit", 1 ),
|
||||
m_iSongsPerPlay ( "SongsPerPlay", 3, ValidateSongsPerPlay ),
|
||||
m_bDelayedCreditsReconcile ( "DelayedCreditsReconcile", false ),
|
||||
m_bComboContinuesBetweenSongs ( "ComboContinuesBetweenSongs", false ),
|
||||
m_ShowSongOptions ( "ShowSongOptions", Maybe_YES ),
|
||||
m_bDancePointsForOni ( "DancePointsForOni", false ),
|
||||
m_bPercentageScoring ( "PercentageScoring", false ),
|
||||
|
||||
@@ -151,7 +151,6 @@ public:
|
||||
Preference<int> m_iCoinsPerCredit;
|
||||
Preference<int> m_iSongsPerPlay;
|
||||
Preference<bool> m_bDelayedCreditsReconcile;
|
||||
Preference<bool> m_bComboContinuesBetweenSongs;
|
||||
Preference<Maybe> m_ShowSongOptions;
|
||||
Preference<bool> m_bDancePointsForOni;
|
||||
Preference<bool> m_bPercentageScoring;
|
||||
|
||||
@@ -194,10 +194,7 @@ void StatsManager::CommitStatsToProfiles()
|
||||
if( pPlayerProfile )
|
||||
{
|
||||
pPlayerProfile->m_iTotalGameplaySeconds += iGameplaySeconds;
|
||||
pPlayerProfile->m_iCurrentCombo =
|
||||
PREFSMAN->m_bComboContinuesBetweenSongs ?
|
||||
m_CurStageStats.m_player[pn].m_iCurCombo :
|
||||
0;
|
||||
pPlayerProfile->m_iCurrentCombo = 0;
|
||||
pPlayerProfile->m_iNumTotalSongsPlayed += m_CurStageStats.m_vpPlayedSongs.size();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user