fix Song::GetSteps

This commit is contained in:
Glenn Maynard
2004-06-06 02:08:48 +00:00
parent 69d330eff5
commit 5c7dd115ad
+2 -2
View File
@@ -900,14 +900,14 @@ void Song::GetSteps( vector<Steps*>& arrayAddTo, StepsType st, Difficulty dc, in
if( !bIncludeAutoGen && pSteps->IsAutogen() )
continue;
arrayAddTo.push_back( pSteps );
if( Max != -1 )
{
--Max;
if( !Max )
break;
}
arrayAddTo.push_back( pSteps );
}
}