From ff6d6e56fef37c0c756fa1efa518ebd37f8e014c Mon Sep 17 00:00:00 2001 From: "techdragon.nguyen@gmail.com" Date: Fri, 13 May 2011 03:40:38 +0000 Subject: [PATCH] related to issue 655. The change to bitwise representation of mana required some changes in the deck output methods. --- projects/mtg/src/MTGDeck.cpp | 3 ++- projects/mtg/src/ManaCost.cpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/projects/mtg/src/MTGDeck.cpp b/projects/mtg/src/MTGDeck.cpp index 848cd6a26..ad0b19318 100644 --- a/projects/mtg/src/MTGDeck.cpp +++ b/projects/mtg/src/MTGDeck.cpp @@ -1074,7 +1074,8 @@ void MTGDeck::printDetailedDeckText(std::ofstream& file ) for (size_t x = 0; x < card->data->basicAbilities.size(); ++x) { - currentCard << Constants::MTGBasicAbilities[x] << "; "; + if ( card->data->basicAbilities[x] == 1 ) + currentCard << Constants::MTGBasicAbilities[x] << "; "; } currentCard <