LoadFromNode(sDir, pNode) -> LoadFromNode(pNode)

This commit is contained in:
Glenn Maynard
2006-10-09 08:24:10 +00:00
parent f1ca420069
commit e11914d4bb
68 changed files with 132 additions and 132 deletions
+3 -3
View File
@@ -41,18 +41,18 @@ bool DifficultyIcon::Load( RString sPath )
return true;
}
void DifficultyIcon::LoadFromNode( const RString& sDir, const XNode* pNode )
void DifficultyIcon::LoadFromNode( const XNode* pNode )
{
RString sFile;
if( !ActorUtil::GetAttrPath(pNode, "File", sFile) )
RageException::Throw( "%s: DifficultyIcon: missing the \"File\" attribute.", ActorUtil::GetWhere(pNode).c_str() );
ActorUtil::ResolvePath( sFile, sDir );
ActorUtil::ResolvePath( sFile, ActorUtil::GetWhere(pNode) );
Load( sFile );
// skip Sprite::LoadFromNode
Actor::LoadFromNode( sDir, pNode );
Actor::LoadFromNode( pNode );
}
void DifficultyIcon::SetPlayer( PlayerNumber pn )