ActorCommands -> ActorUtil::ParseActorCommands

This commit is contained in:
Glenn Maynard
2006-09-21 02:24:22 +00:00
parent 039e263fbc
commit 3a57dca6c4
12 changed files with 28 additions and 19 deletions
+1 -1
View File
@@ -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 );
}