Fix Deck Mana Symbol Rendering

deckmanaColors was increased to 7, made this >=6 so it's compatible with
old deck stats
This commit is contained in:
Anthony Calosa
2016-07-06 04:26:01 +08:00
parent e15734d17e
commit 16f7ae54b8

View File

@@ -122,7 +122,7 @@ void DeckMenu::RenderDeckManaColors()
if (mSelectedDeck &&displayDeckMana)
{
string deckManaColors = mSelectedDeck->getColorIndex().c_str();
if (deckManaColors.size() == 6)
if (deckManaColors.size() >= 6)
{
// due to space constraints don't display icons for colorless mana.
for( int colorIdx = Constants::MTG_COLOR_GREEN; colorIdx < Constants::MTG_COLOR_WASTE; ++colorIdx )