remove Path

This commit is contained in:
Glenn Maynard
2006-10-09 09:05:09 +00:00
parent f59c8c0562
commit 83b2e25cc5
+1 -1
View File
@@ -23,7 +23,7 @@ void ActorSound::LoadFromNode( const XNode* pNode )
Actor::LoadFromNode( pNode );
RString sFile;
if( ActorUtil::GetAttrPath(pNode, "File", sFile) || ActorUtil::GetAttrPath(pNode, "Path", sFile) ) /* Path deprecated */
if( ActorUtil::GetAttrPath(pNode, "File", sFile) )
{
ActorUtil::ResolvePath( sFile, ActorUtil::GetWhere(pNode) );
Load( sFile );