related to issue 655. The change to bitwise representation of mana required some changes in the deck output methods.
This commit is contained in:
@@ -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 <<endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user