"Type" is correct here
This commit is contained in:
@@ -97,8 +97,8 @@ void DifficultyMeter::LoadFromNode( const XNode* pNode )
|
|||||||
ActorFrame::LoadFromNode( pNode );
|
ActorFrame::LoadFromNode( pNode );
|
||||||
|
|
||||||
RString s;
|
RString s;
|
||||||
pNode->GetAttrValue( "Class", s );
|
if( !pNode->GetAttrValue("Type", s) )
|
||||||
ASSERT( s.size() );
|
RageException::Throw( "%s: DifficultyMeter: missing the \"Type\" attribute", ActorUtil::GetWhere(pNode).c_str() );
|
||||||
Load( s );
|
Load( s );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user