diff --git a/stepmania/src/ActorFrame.cpp b/stepmania/src/ActorFrame.cpp index ce5ef27107..7ffc2bf492 100644 --- a/stepmania/src/ActorFrame.cpp +++ b/stepmania/src/ActorFrame.cpp @@ -115,7 +115,7 @@ void ActorFrame::AddChild( Actor* pActor ) // check that this Actor isn't already added. vector::iterator iter = find( m_SubActors.begin(), m_SubActors.end(), pActor ); if( iter != m_SubActors.end() ) - Dialog::OK( ssprintf("Actor \"%s\" adds child \"%s\" more than once", m_sName.c_str(), pActor->m_sName.c_str()) ); + Dialog::OK( ssprintf("Actor \"%s\" adds child \"%s\" more than once", GetName().c_str(), pActor->GetName().c_str()) ); #endif ASSERT( pActor );