From 530afdf8fa57ff1804160fbba857a6389ba6c854 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sun, 17 Apr 2011 22:54:51 -0400 Subject: [PATCH] New branch: [sm130attacks]. Look into allowing song attacks again. --- src/NotesLoaderSM.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/NotesLoaderSM.cpp b/src/NotesLoaderSM.cpp index 7fa211df32..f1ab8ec5ad 100644 --- a/src/NotesLoaderSM.cpp +++ b/src/NotesLoaderSM.cpp @@ -10,6 +10,7 @@ #include "Song.h" #include "SongManager.h" #include "Steps.h" +#include "Attack.h" #include "PrefsManager.h" /** @brief The maximum file size for edits. */ @@ -468,7 +469,7 @@ bool SMLoader::LoadFromSMFile( const RString &sPath, Song &out, bool bFromCache // handle the data /* Don't use GetMainAndSubTitlesFromFullTitle; that's only for heuristically - * splitting other formats that *don't* natively support #SUBTITLE. */ + * splitting other formats that *don't* natively support #SUBTITLE. */ if( sValueName=="TITLE" ) out.m_sMainTitle = sParams[1]; @@ -540,7 +541,7 @@ bool SMLoader::LoadFromSMFile( const RString &sPath, Song &out, bool bFromCache ; /* ignore */ /* We calculate these. Some SMs in circulation have bogus values for - * these, so make sure we always calculate it ourself. */ + * these, so make sure we always calculate it ourself. */ else if( sValueName=="FIRSTBEAT" ) { if( bFromCache )