add actor name for easier debugging
This commit is contained in:
@@ -188,6 +188,7 @@ void BGAnimation::LoadFromNode( const CString& sDir, const XNode* pNode )
|
||||
if( pNode->GetAttrValue( "LengthSeconds", fLengthSeconds ) )
|
||||
{
|
||||
Actor *pActor = new Actor;
|
||||
pActor->SetName( "BGAnimation dummy" );
|
||||
pActor->SetHidden( true );
|
||||
apActorCommands ap( new ActorCommands(ssprintf("sleep,%f",fLengthSeconds)) );
|
||||
pActor->AddCommand( "On", ap );
|
||||
|
||||
Reference in New Issue
Block a user