fix Song::GetSteps
This commit is contained in:
@@ -900,14 +900,14 @@ void Song::GetSteps( vector<Steps*>& arrayAddTo, StepsType st, Difficulty dc, in
|
|||||||
if( !bIncludeAutoGen && pSteps->IsAutogen() )
|
if( !bIncludeAutoGen && pSteps->IsAutogen() )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
arrayAddTo.push_back( pSteps );
|
||||||
|
|
||||||
if( Max != -1 )
|
if( Max != -1 )
|
||||||
{
|
{
|
||||||
--Max;
|
--Max;
|
||||||
if( !Max )
|
if( !Max )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
arrayAddTo.push_back( pSteps );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user