ActorCommands -> ActorUtil::ParseActorCommands
This commit is contained in:
@@ -158,7 +158,7 @@ void BGAnimation::LoadFromNode( const RString& sDir, const XNode* pNode )
|
||||
Actor *pActor = new Actor;
|
||||
pActor->SetName( "BGAnimation dummy" );
|
||||
pActor->SetHidden( true );
|
||||
apActorCommands ap = ActorCommands( ssprintf("sleep,%f",fLengthSeconds) );
|
||||
apActorCommands ap = ActorUtil::ParseActorCommands( ssprintf("sleep,%f",fLengthSeconds) );
|
||||
pActor->AddCommand( "On", ap );
|
||||
AddChild( pActor );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user