remove old ini/xml hack

This commit is contained in:
Glenn Maynard
2007-05-27 07:29:33 +00:00
parent e6f0667494
commit 2531642710
-8
View File
@@ -135,14 +135,6 @@ Actor* ActorUtil::LoadFromNode( const XNode* pNode, Actor *pParentActor )
if( !bHasClass )
bHasClass = pNode->GetAttrValue( "Type", sClass ); // for backward compatibility
// backward compat hack
if( !bHasClass )
{
RString sText;
if( pNode->GetAttrValue( "Text", sText ) )
sClass = "BitmapText";
}
if( !IsRegistered(sClass) )
{
// sClass is invalid