"Type" is correct here

This commit is contained in:
Glenn Maynard
2007-05-29 18:51:35 +00:00
parent 1b9eb42c82
commit 4760ad0b0c
+2 -2
View File
@@ -97,8 +97,8 @@ void DifficultyMeter::LoadFromNode( const XNode* pNode )
ActorFrame::LoadFromNode( pNode );
RString s;
pNode->GetAttrValue( "Class", s );
ASSERT( s.size() );
if( !pNode->GetAttrValue("Type", s) )
RageException::Throw( "%s: DifficultyMeter: missing the \"Type\" attribute", ActorUtil::GetWhere(pNode).c_str() );
Load( s );
}