From ecae2af519222e862ac5259153da369e5c2a7be3 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 11 Jan 2004 05:32:40 +0000 Subject: [PATCH] fix UtilCommand --- stepmania/src/ActorUtil.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index d03b3d9832..c4cd460f55 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -142,8 +142,9 @@ void UtilSetXY( Actor& actor, CString sClassName ) float UtilCommand( Actor& actor, CString sClassName, CString sCommandName ) { // If Actor is hidden, it won't get updated or drawn, so don't bother tweening. - if( actor.GetHidden() ) - return 0; + /* ... but we might be unhiding it, or setting state for when we unhide it later */ +// if( actor.GetHidden() ) +// return 0; float ret = actor.Command( "playcommand," + sCommandName );