compile fix

This commit is contained in:
Glenn Maynard
2005-07-19 06:54:49 +00:00
parent bd26915d01
commit 8f8f8d7782
+1 -1
View File
@@ -115,7 +115,7 @@ void ActorFrame::AddChild( Actor* pActor )
// check that this Actor isn't already added.
vector<Actor*>::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 );