add Course::FindFixedSong, Attack::FromGlobalCourseModifier

This commit is contained in:
Glenn Maynard
2005-01-03 23:30:56 +00:00
parent c82a6fa313
commit 0f010d2321
5 changed files with 27 additions and 10 deletions
+1 -10
View File
@@ -10,16 +10,7 @@
void TrailEntry::GetAttackArray( AttackArray &out ) const
{
if( !Modifiers.empty() )
{
Attack a;
a.fStartSecond = 0;
a.fSecsRemaining = 10000; /* whole song */
a.level = ATTACK_LEVEL_1;
a.sModifier = Modifiers;
a.bGlobal = true;
out.push_back( a );
}
out.push_back( Attack::FromGlobalCourseModifier( Modifiers ) );
out.insert( out.end(), Attacks.begin(), Attacks.end() );
}