Fix crash for Deck Menu
Old save with stats should work 👍
This commit is contained in:
@@ -125,7 +125,7 @@ void DeckMenu::RenderDeckManaColors()
|
|||||||
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_LAND; ++colorIdx )
|
for( int colorIdx = Constants::MTG_COLOR_GREEN; colorIdx < Constants::MTG_COLOR_WASTE; ++colorIdx )
|
||||||
{
|
{
|
||||||
if ( (deckManaColors.at(colorIdx) == '1') != 0)
|
if ( (deckManaColors.at(colorIdx) == '1') != 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user