Make all uses of the Steps* in the TrailEntry class use an accessor method.
This makes it simple to switch to something else, such as using a StepsId instead of a Steps*.
This commit is contained in:
@@ -850,8 +850,8 @@ void ScreenGameplay::InitSongQueues()
|
||||
pi->m_asModifiersQueue.clear();
|
||||
FOREACH_CONST( TrailEntry, pTrail->m_vEntries, e )
|
||||
{
|
||||
ASSERT( e->pSteps );
|
||||
pi->m_vpStepsQueue.push_back( e->pSteps );
|
||||
ASSERT( e->GetSteps() );
|
||||
pi->m_vpStepsQueue.push_back( e->GetSteps() );
|
||||
AttackArray a;
|
||||
e->GetAttackArray( a );
|
||||
pi->m_asModifiersQueue.push_back( a );
|
||||
|
||||
Reference in New Issue
Block a user