play InitCommand for all Actors at load time

This commit is contained in:
Chris Danford
2005-02-19 01:06:03 +00:00
parent 5ae3b5cad0
commit eb6e4cdb50
3 changed files with 4 additions and 11 deletions
-2
View File
@@ -107,7 +107,6 @@ ScreenSelectMaster::ScreenSelectMaster( CString sClassName ) : ScreenSelect( sCl
m_sprScroll[c][0].Load( THEME->GetPathG(m_sName,ssprintf("Scroll Choice%s",mc.m_sName.c_str())) );
m_sprScroll[c][0]->SetName( ssprintf("Scroll") );
m_sprScroll[c][0]->PlayCommand( "Init" );
m_Scroller[0].AddChild( m_sprScroll[c][0] );
}
}
@@ -131,7 +130,6 @@ ScreenSelectMaster::ScreenSelectMaster( CString sClassName ) : ScreenSelect( sCl
m_sprScroll[c][p].Load( THEME->GetPathG(m_sName,ssprintf("Scroll Choice%s P%d",mc.m_sName.c_str(),p+1)) );
m_sprScroll[c][p]->SetName( ssprintf("ScrollP%d",p+1) );
m_sprScroll[c][p]->PlayCommand( "Init" );
m_Scroller[p].AddChild( m_sprScroll[c][p] );
}
}