cleanup
This commit is contained in:
@@ -53,12 +53,12 @@ bool RageSoundReader_Chain::AddSound( RString sPath, float fOffsetSecs, float fP
|
|||||||
it = m_apLoadedSounds.find( sPath );
|
it = m_apLoadedSounds.find( sPath );
|
||||||
if( it == m_apLoadedSounds.end() )
|
if( it == m_apLoadedSounds.end() )
|
||||||
{
|
{
|
||||||
RString error;
|
RString sError;
|
||||||
RageSoundReader *pReader = RageSoundReader_FileReader::OpenFile( sPath, error );
|
RageSoundReader *pReader = RageSoundReader_FileReader::OpenFile( sPath, sError );
|
||||||
if( pReader == NULL )
|
if( pReader == NULL )
|
||||||
{
|
{
|
||||||
LOG->Warn( "RageSoundReader_Chain: error opening sound \"%s\": %s",
|
LOG->Warn( "RageSoundReader_Chain: error opening sound \"%s\": %s",
|
||||||
sPath.c_str(), error.c_str() );
|
sPath.c_str(), sError.c_str() );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user