don't add command manually

This commit is contained in:
Glenn Maynard
2006-10-03 04:01:19 +00:00
parent 24a147c74b
commit 880f20b443
+1 -1
View File
@@ -102,8 +102,8 @@ void ScreenEnding::Init()
m_sprRemoveMemoryCard[p].SetHidden( true );
break;
}
ActorUtil::LoadAllCommands( m_sprRemoveMemoryCard[p], m_sName );
SET_XY_AND_ON_COMMAND( m_sprRemoveMemoryCard[p] );
m_sprRemoveMemoryCard[p].AddCommand( ssprintf("CardRemovedP%dMessage",p+1), ActorUtil::ParseActorCommands("hidden,1") );
this->AddChild( &m_sprRemoveMemoryCard[p] );
}