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:
@@ -122,7 +122,7 @@ void DeckMenu::RenderDeckManaColors()
|
|||||||
if (mSelectedDeck &&displayDeckMana)
|
if (mSelectedDeck &&displayDeckMana)
|
||||||
{
|
{
|
||||||
string deckManaColors = mSelectedDeck->getColorIndex().c_str();
|
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.
|
// due to space constraints don't display icons for colorless mana.
|
||||||
for( int colorIdx = Constants::MTG_COLOR_GREEN; colorIdx < Constants::MTG_COLOR_WASTE; ++colorIdx )
|
for( int colorIdx = Constants::MTG_COLOR_GREEN; colorIdx < Constants::MTG_COLOR_WASTE; ++colorIdx )
|
||||||
|
|||||||
Reference in New Issue
Block a user