cant buy and/or add tokens in deck editor and shop...
also adjust filter menu
This commit is contained in:
Anthony Calosa
2017-02-26 21:21:11 +08:00
parent 0f82b6efba
commit 17b6996ae4
3 changed files with 7 additions and 4 deletions

View File

@@ -235,6 +235,7 @@ void GameStateDeckViewer::End()
void GameStateDeckViewer::addRemove(MTGCard * card)
{
if (!card) return;
if ((card->getRarity() == Constants::RARITY_T) || (card->getId() < 1)) return;
if (mView->deck()->Remove(card, 1, (mView->deck() == myDeck)))
{
if (mView->deck() == myCollection)