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:
Jason Felds
2011-06-24 12:12:27 -04:00
parent f2d1ca1d4b
commit fcf9e335e6
7 changed files with 22 additions and 14 deletions
+1 -1
View File
@@ -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 );