In a survuval course, override stored mods

This commit is contained in:
Chris Danford
2005-10-13 17:34:16 +00:00
parent 455d0c7378
commit 634ab18a79
+5
View File
@@ -912,6 +912,11 @@ void ScreenGameplay::InitSongQueues()
ASSERT( e->pSteps );
pi->m_vpStepsQueue.push_back( e->pSteps );
AttackArray a;
// In a survuval course, override stored mods
if( pCourse->GetCourseType() == COURSE_TYPE_SURVIVAL )
a.push_back( Attack(ATTACK_LEVEL_1, 0, 0, "clearall,"+DEFAULT_MODIFIERS.GetValue(), false, true, false) ); // don't show in AttackList
e->GetAttackArray( a );
pi->m_asModifiersQueue.push_back( a );
}