From 5c7dd115adeb624d5f704fae07d6761595df48f4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 6 Jun 2004 02:08:48 +0000 Subject: [PATCH] fix Song::GetSteps --- stepmania/src/Song.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index 36df03741c..62754052dd 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -900,14 +900,14 @@ void Song::GetSteps( vector& 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 ); } }