load all commands for screens

This commit is contained in:
Glenn Maynard
2005-09-07 20:44:43 +00:00
parent 02d10ae927
commit 8b9bf0d31a
+3 -1
View File
@@ -39,7 +39,9 @@ void Screen::Init()
{ {
m_smSendOnPop = SM_None; m_smSendOnPop = SM_None;
this->RunCommands( THEME->GetMetricA(m_sName, "ScreenInitCommand") ); ActorUtil::LoadAllCommandsFromName( *this, m_sName, "Screen" );
this->PlayCommand( "Init" );
vector<CString> asList; vector<CString> asList;
split( PREPARE_SCREENS, ",", asList ); split( PREPARE_SCREENS, ",", asList );