This commit is contained in:
Glenn Maynard
2006-12-09 03:44:36 +00:00
parent 0e72d6d08c
commit f2ae34e517
+3 -3
View File
@@ -53,12 +53,12 @@ bool RageSoundReader_Chain::AddSound( RString sPath, float fOffsetSecs, float fP
it = m_apLoadedSounds.find( sPath );
if( it == m_apLoadedSounds.end() )
{
RString error;
RageSoundReader *pReader = RageSoundReader_FileReader::OpenFile( sPath, error );
RString sError;
RageSoundReader *pReader = RageSoundReader_FileReader::OpenFile( sPath, sError );
if( pReader == NULL )
{
LOG->Warn( "RageSoundReader_Chain: error opening sound \"%s\": %s",
sPath.c_str(), error.c_str() );
sPath.c_str(), sError.c_str() );
return false;
}