add actor name for easier debugging

This commit is contained in:
Chris Danford
2005-06-11 10:25:46 +00:00
parent 220fce4425
commit f7b258b1bf
+1
View File
@@ -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 );