CString -> RString
This commit is contained in:
@@ -42,13 +42,13 @@ void AutoKeysounds::FinishLoading()
|
||||
//
|
||||
// Load sounds.
|
||||
//
|
||||
CString sSongDir = pSong->GetSongDir();
|
||||
RString sSongDir = pSong->GetSongDir();
|
||||
/*
|
||||
m_vKeysounds.clear();
|
||||
m_vKeysounds.resize( pSong->m_vsKeysoundFile.size() );
|
||||
for( unsigned i=0; i<m_vKeysounds.size(); i++ )
|
||||
{
|
||||
CString sKeysoundFilePath = sSongDir + pSong->m_vsKeysoundFile[i];
|
||||
RString sKeysoundFilePath = sSongDir + pSong->m_vsKeysoundFile[i];
|
||||
RageSound& sound = m_vKeysounds[i];
|
||||
sound.Load( sKeysoundFilePath );
|
||||
|
||||
@@ -106,7 +106,7 @@ void AutoKeysounds::FinishLoading()
|
||||
ASSERT( tn[pn].type == TapNote::autoKeysound );
|
||||
if( tn[pn].bKeysound )
|
||||
{
|
||||
CString sKeysoundFilePath = sSongDir + pSong->m_vsKeysoundFile[tn[pn].iKeysoundIndex];
|
||||
RString sKeysoundFilePath = sSongDir + pSong->m_vsKeysoundFile[tn[pn].iKeysoundIndex];
|
||||
float fSeconds = pSong->m_Timing.GetElapsedTimeFromBeat( NoteRowToBeat(iRow) );
|
||||
|
||||
float fPan = 0;
|
||||
|
||||
Reference in New Issue
Block a user