use ActorUtil::GetWhere

This commit is contained in:
Glenn Maynard
2006-10-09 08:08:59 +00:00
parent 8e8a10f56c
commit f1ca420069
11 changed files with 27 additions and 28 deletions
+2 -2
View File
@@ -111,8 +111,8 @@ void BitmapText::LoadFromNode( const RString& sDir, const XNode* pNode )
pNode->GetAttrValue( "File", sFont ); // accept "File" for backward compatibility
if( sFont == "" )
RageException::Throw( "An object \"%s\" in \"%s\" is missing the Font attribute.",
pNode->GetName().c_str(), sDir.c_str() );
RageException::Throw( "%s: BitmapText: missing the Font attribute",
ActorUtil::GetWhere(pNode).c_str() );
LoadFromFont( THEME->GetPathF( "", sFont ) );
SetText( sText, sAltText );