scattered ActorUtil::ResolvePath calls unneeded
This commit is contained in:
@@ -24,10 +24,7 @@ void ActorSound::LoadFromNode( const XNode* pNode )
|
||||
|
||||
RString sFile;
|
||||
if( ActorUtil::GetAttrPath(pNode, "File", sFile) )
|
||||
{
|
||||
ActorUtil::ResolvePath( sFile, ActorUtil::GetWhere(pNode) );
|
||||
Load( sFile );
|
||||
}
|
||||
}
|
||||
|
||||
// lua start
|
||||
|
||||
Reference in New Issue
Block a user