don't add command manually
This commit is contained in:
@@ -102,8 +102,8 @@ void ScreenEnding::Init()
|
|||||||
m_sprRemoveMemoryCard[p].SetHidden( true );
|
m_sprRemoveMemoryCard[p].SetHidden( true );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
ActorUtil::LoadAllCommands( m_sprRemoveMemoryCard[p], m_sName );
|
||||||
SET_XY_AND_ON_COMMAND( m_sprRemoveMemoryCard[p] );
|
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] );
|
this->AddChild( &m_sprRemoveMemoryCard[p] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user