Make sure the music file exists.

Well, better this than a bad access error.
This commit is contained in:
Jason Felds
2011-06-11 00:17:47 -04:00
parent b78c5350e3
commit 1b5853c5ea
+1
View File
@@ -15,6 +15,7 @@
RageSoundReader_Extend::RageSoundReader_Extend( RageSoundReader *pSource ):
RageSoundReader_Filter( pSource )
{
ASSERT_M(pSource, "The music file was not found! Was it deleted or moved while the game was on?");
m_iPositionFrames = pSource->GetNextSourceFrame();
m_StopMode = M_STOP;