diff --git a/src/NotesLoaderSM.cpp b/src/NotesLoaderSM.cpp index d287660dc5..4248085f67 100644 --- a/src/NotesLoaderSM.cpp +++ b/src/NotesLoaderSM.cpp @@ -560,7 +560,7 @@ bool SMLoader::LoadFromSMFile( const RString &sPath, Song &out, bool bFromCache else if( sValueName=="OFFSET" ) { - out.m_fBeat0OffsetInSeconds = StringToFloat( sParams[1] ); + out.m_SongTiming.m_fBeat0OffsetInSeconds = StringToFloat( sParams[1] ); } else if( sValueName=="BPMS" ) { diff --git a/src/Song.cpp b/src/Song.cpp index 059190c751..de09e5ffa3 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 = 177; +const int FILE_CACHE_VERSION = 178; /** @brief How long does a song sample last by default? */ const float DEFAULT_MUSIC_SAMPLE_LENGTH = 12.f; diff --git a/src/Song.h b/src/Song.h index 825e7e2dc4..0539cddff5 100644 --- a/src/Song.h +++ b/src/Song.h @@ -287,9 +287,6 @@ public: /** @brief The Song's TimingData. */ TimingData m_SongTiming; - /** @brief The initial offset of a song. */ - float m_fBeat0OffsetInSeconds; - typedef vector VBackgroundChange; private: /**