make LengthSeconds more predictable: sets the minimum length of the

tween after "On"
This commit is contained in:
Glenn Maynard
2005-04-14 09:32:58 +00:00
parent 649d8de3d3
commit c9e0d48774
+2 -1
View File
@@ -189,7 +189,8 @@ void BGAnimation::LoadFromNode( const CString& sDir, const XNode* pNode )
{
Actor *pActor = new Actor;
pActor->SetHidden( true );
pActor->BeginTweening( fLengthSeconds );
apActorCommands ap( new ActorCommands(ssprintf("sleep,%f",fLengthSeconds)) );
pActor->AddCommand( "On", ap );
AddChild( pActor );
}
}