Use StepAttacks instead.
This deprecates the GetSongAttacks lua function. Next up: make it so that no text is displayed if Step Attacks are on, but display "No Attacks" if attacks are turned off.
This commit is contained in:
@@ -821,7 +821,7 @@ void ScreenGameplay::InitSongQueues()
|
||||
Steps *pSteps = GAMESTATE->m_pCurSteps[ pi->GetStepsAndTrailIndex() ];
|
||||
pi->m_vpStepsQueue.push_back( pSteps );
|
||||
|
||||
if( pi->GetPlayerState()->m_PlayerOptions.GetCurrent().m_fSongAttack != 0 &&
|
||||
if( pi->GetPlayerState()->m_PlayerOptions.GetCurrent().m_fStepAttack != 0 &&
|
||||
pSteps->m_Attacks.size() > 0 )
|
||||
{
|
||||
pi->m_asModifiersQueue.push_back( pSteps->m_Attacks );
|
||||
|
||||
Reference in New Issue
Block a user