fix UtilCommand

This commit is contained in:
Glenn Maynard
2004-01-11 05:32:40 +00:00
parent 149138cf20
commit ecae2af519
+3 -2
View File
@@ -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 );