rename: ActorCommand -> Command
Make Command smaller and more generic. Parse arguments on use, not in Command::Load.
This commit is contained in:
@@ -44,7 +44,7 @@ void ScreenBranch::HandleScreenMessage( const ScreenMessage SM )
|
||||
LOG->Trace( "Branching to '%s'", sNextScreen.c_str() );
|
||||
|
||||
GameCommand mc;
|
||||
mc.Load( 0, ParseActorCommands(sNextScreen) );
|
||||
mc.Load( 0, ParseCommands(sNextScreen) );
|
||||
if( mc.m_sScreen == "" )
|
||||
RageException::Throw("Metric %s::%s must set \"screen\"",
|
||||
m_sName.c_str(), ("NextScreen"+m_sChoice).c_str() );
|
||||
|
||||
Reference in New Issue
Block a user