From 95408c968925af4bbc7f4d5c2e324cfedb391a14 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 4 Jan 2005 22:50:27 +0000 Subject: [PATCH] Can't find any reason why I didn't do it this way to begin with; seems to work fine ... --- stepmania/src/ActorUtil.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index 94c504b5d1..1cd883ec20 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -320,14 +320,7 @@ void UtilSetXY( Actor& actor, const CString &sScreenName ) void UtilCommand( Actor& actor, const CString &sScreenName, const CString &sCommandName ) { - // If Actor is hidden, it won't get updated or drawn, so don't bother tweening. - /* ... but we might be unhiding it, or setting state for when we unhide it later */ -// if( actor.GetHidden() ) -// return 0; - - Command ac; - ac.Load("playcommand,"+sCommandName); - actor.HandleCommand( ac ); + actor.PlayCommand( sCommandName ); // HACK: It's very often that we command things to TweenOffScreen // that we aren't drawing. We know that an Actor is not being