[GameState, SongUtil] Fix Issue 263 by not charging 2x stages for doubles when not using joint premium.

This commit is contained in:
AJ Kelly
2011-08-07 18:33:35 -05:00
parent 4fa91adc36
commit 0285f7687f
3 changed files with 4 additions and 23 deletions
+1 -1
View File
@@ -975,7 +975,7 @@ void SongUtil::GetPlayableStepsTypes( const Song *pSong, set<StepsType> &vOut )
const Style *pStyle = GAMEMAN->GetFirstCompatibleStyle( GAMESTATE->m_pCurGame, iNumPlayers, *st );
bool bEnoughStages = GAMESTATE->IsAnExtraStage() ||
GAMESTATE->GetSmallestNumStagesLeftForAnyHumanPlayer() >=
GAMESTATE->GetNumStagesForSongAndStyleType(pSong, pStyle->m_StyleType);
GAMESTATE->GetNumStagesMultiplierForSong(pSong);
if( bShowThisStepsType && bEnoughStages )
vOut.insert( *st );