[Song] Fixed a bug where a sample start of 0 wouldn't work.
This commit is contained in:
@@ -8,6 +8,10 @@ ________________________________________________________________________________
|
||||
StepMania 5.0 $next | 20111xxx
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
2011/12/23
|
||||
----------
|
||||
* [Song] Fixed a bug where a sample start of 0 wouldn't work. [AJ]
|
||||
|
||||
2011/12/22
|
||||
----------
|
||||
* [LuaManager] Added ProductFamily() Lua binding. [AJ]
|
||||
|
||||
+1
-1
@@ -563,7 +563,7 @@ void Song::TidyUpData( bool fromCache, bool duringCache )
|
||||
TranslateTitles();
|
||||
|
||||
if( m_fMusicSampleStartSeconds == -1 ||
|
||||
m_fMusicSampleStartSeconds == 0 ||
|
||||
m_fMusicSampleLengthSeconds == 0 ||
|
||||
m_fMusicSampleStartSeconds+m_fMusicSampleLengthSeconds > this->m_fMusicLengthSeconds )
|
||||
{
|
||||
const TimingData &timing = this->m_SongTiming;
|
||||
|
||||
Reference in New Issue
Block a user