cleanup
This commit is contained in:
@@ -469,11 +469,11 @@ void Player::Load()
|
|||||||
p.m_Balance = GameSoundManager::GetPlayerBalance( pn );
|
p.m_Balance = GameSoundManager::GetPlayerBalance( pn );
|
||||||
for( unsigned i=0; i<m_vKeysounds.size(); i++ )
|
for( unsigned i=0; i<m_vKeysounds.size(); i++ )
|
||||||
{
|
{
|
||||||
RString sKeysoundFilePath = sSongDir + pSong->m_vsKeysoundFile[i];
|
RString sKeysoundFilePath = sSongDir + pSong->m_vsKeysoundFile[i];
|
||||||
RageSound& sound = m_vKeysounds[i];
|
RageSound& sound = m_vKeysounds[i];
|
||||||
if( sound.GetLoadedFilePath() != sKeysoundFilePath )
|
if( sound.GetLoadedFilePath() != sKeysoundFilePath )
|
||||||
sound.Load( sKeysoundFilePath, true );
|
sound.Load( sKeysoundFilePath, true );
|
||||||
sound.SetParams( p );
|
sound.SetParams( p );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( m_pPlayerStageStats )
|
if( m_pPlayerStageStats )
|
||||||
|
|||||||
Reference in New Issue
Block a user