add remove memory card graphic to ScreenEnding

This commit is contained in:
Chris Danford
2004-01-07 04:37:00 +00:00
parent a6573c2870
commit 40d0062120
5 changed files with 208 additions and 2 deletions
+3 -2
View File
@@ -11,6 +11,8 @@
*/
#include "ActorFrame.h"
#include "arch/ArchHooks/ArchHooks.h"
#include "RageUtil.h"
void ActorFrame::AddChild( Actor* pActor )
{
@@ -18,8 +20,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() )
RageException::Throw( "Actor \"%s\" adds child \"%s\" more than once",
m_sName.c_str(), pActor->m_sName.c_str() );
HOOKS->MessageBoxOK( ssprintf("Actor \"%s\" adds child \"%s\" more than once", m_sName.c_str(), pActor->m_sName.c_str()) );
#endif
ASSERT( pActor );