undo regression introduced in d17c21e where any songs without keysounds were clobbered by RageSoundReader_Silence. please test your code before committing it :|

This commit is contained in:
Mark Cannon
2011-09-09 23:51:10 +00:00
parent 1103f8cea1
commit e56de5a09a
3 changed files with 15 additions and 19 deletions
-3
View File
@@ -19,7 +19,6 @@
#include "AutoKeysounds.h"
#include "GameState.h"
#include "Song.h"
#include "RageSoundReader.h"
#include "RageSoundReader_Chain.h"
#include "RageSoundReader_ChannelSplit.h"
#include "RageSoundReader_Extend.h"
@@ -277,8 +276,6 @@ void AutoKeysounds::FinishLoading()
else
{
delete pChain;
RageSoundReader_Silence *pSilence = new RageSoundReader_Silence;
m_pSharedSound = pSilence;
}
}
ASSERT_M( m_pSharedSound, ssprintf("No keysounds were loaded for the song %s!", pSong->m_sMainTitle.c_str() ));