Can't find any reason why I didn't do it this way to begin with; seems to work

fine ...
This commit is contained in:
Glenn Maynard
2005-01-04 22:50:27 +00:00
parent 1e12a17506
commit 95408c9689
+1 -8
View File
@@ -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