diff --git a/src/NotesLoaderSM.cpp b/src/NotesLoaderSM.cpp index 9a5f276105..c74e867a18 100644 --- a/src/NotesLoaderSM.cpp +++ b/src/NotesLoaderSM.cpp @@ -133,7 +133,8 @@ void SMLoader::ProcessAttackString( vector & attacks, MsdFile::value_t { RString tmp = params[s]; Trim(tmp); - attacks.push_back( tmp ); + if (tmp.size() > 0) + attacks.push_back( tmp ); } } diff --git a/src/Song.cpp b/src/Song.cpp index 49b5f2bac4..da0b73bcfc 100644 --- a/src/Song.cpp +++ b/src/Song.cpp @@ -41,7 +41,7 @@ * @brief The internal version of the cache for StepMania. * * Increment this value to invalidate the current cache. */ -const int FILE_CACHE_VERSION = 194; +const int FILE_CACHE_VERSION = 195; /** @brief How long does a song sample last by default? */ const float DEFAULT_MUSIC_SAMPLE_LENGTH = 12.f;