compile fix
This commit is contained in:
@@ -115,7 +115,7 @@ void ActorFrame::AddChild( Actor* pActor )
|
|||||||
// check that this Actor isn't already added.
|
// check that this Actor isn't already added.
|
||||||
vector<Actor*>::iterator iter = find( m_SubActors.begin(), m_SubActors.end(), pActor );
|
vector<Actor*>::iterator iter = find( m_SubActors.begin(), m_SubActors.end(), pActor );
|
||||||
if( iter != m_SubActors.end() )
|
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
|
#endif
|
||||||
|
|
||||||
ASSERT( pActor );
|
ASSERT( pActor );
|
||||||
|
|||||||
Reference in New Issue
Block a user