Ensure the reference is passed.

This commit is contained in:
Jason Felds
2011-05-29 22:44:23 -04:00
parent 09c56854b5
commit 8de49622eb
+3 -1
View File
@@ -661,7 +661,9 @@ bool SMALoader::LoadFromSMAFile( const RString &sPath, Song &out )
else if( sValueName=="MULTIPLIER" )
{
ProcessMultipliers( pNewNotes->m_Timing, iRowsPerBeat, sParams[1] );
TimingData &timing = (state == SMA_GETTING_STEP_INFO
? pNewNotes->m_Timing : out.m_SongTiming);
ProcessMultipliers( timing, iRowsPerBeat, sParams[1] );
}
else if( sValueName=="FAKES" )