expose params
This commit is contained in:
@@ -19,11 +19,15 @@ void ActorSound::Play()
|
||||
|
||||
void ActorSound::LoadFromNode( const XNode* pNode )
|
||||
{
|
||||
RageSoundLoadParams params;
|
||||
pNode->GetAttrValue("SupportPan", params.m_bSupportPan);
|
||||
pNode->GetAttrValue("SupportRateChanging", params.m_bSupportRateChanging);
|
||||
|
||||
Actor::LoadFromNode( pNode );
|
||||
|
||||
RString sFile;
|
||||
if( ActorUtil::GetAttrPath(pNode, "File", sFile) )
|
||||
Load( sFile );
|
||||
m_Sound.Load( sFile, true, ¶ms );
|
||||
}
|
||||
|
||||
// lua start
|
||||
|
||||
Reference in New Issue
Block a user