From c4a0bf6e520d6552d228b9b2385968e61c37ba26 Mon Sep 17 00:00:00 2001 From: Alberto Ramos Date: Mon, 7 Feb 2011 14:50:32 -0700 Subject: [PATCH] sorry midi --- src/NotesLoaderSM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NotesLoaderSM.cpp b/src/NotesLoaderSM.cpp index 5a978bdae0..9aa75f6e19 100644 --- a/src/NotesLoaderSM.cpp +++ b/src/NotesLoaderSM.cpp @@ -327,7 +327,7 @@ void SMLoader::LoadTimingFromSMFile( const MsdFile &msd, TimingData &out ) } const float fTickcountBeat = StringToFloat( arrayTickcountValues[0] ); - const int iTicks = atoi( arrayTickcountValues[1] ); + int iTicks = atoi( arrayTickcountValues[1] ); // you're lazy, let SM do the work for you... -DaisuMaster if( iTicks < 1) iTicks = 1; if( iTicks > ROWS_PER_BEAT ) iTicks = ROWS_PER_BEAT;