From 634ab18a79a8ad683ae478fe58847b13b1801b6d Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Thu, 13 Oct 2005 17:34:16 +0000 Subject: [PATCH] In a survuval course, override stored mods --- stepmania/src/ScreenGameplay.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index a372f6e5a5..04c071bf8f 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -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 ); }