use Dialog

This commit is contained in:
Glenn Maynard
2004-06-10 22:47:51 +00:00
parent 77c42f991d
commit 211f9b852a
10 changed files with 41 additions and 42 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#include "global.h"
#include "ActorFrame.h"
#include "arch/ArchHooks/ArchHooks.h"
#include "arch/Dialog/Dialog.h"
#include "RageUtil.h"
void ActorFrame::AddChild( Actor* pActor )
@@ -9,7 +9,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() )
HOOKS->MessageBoxOK( 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", m_sName.c_str(), pActor->m_sName.c_str()) );
#endif
ASSERT( pActor );