diff --git a/projects/mtg/src/DeckMenu.cpp b/projects/mtg/src/DeckMenu.cpp index 3b670e9f5..898b83215 100644 --- a/projects/mtg/src/DeckMenu.cpp +++ b/projects/mtg/src/DeckMenu.cpp @@ -125,7 +125,7 @@ void DeckMenu::RenderDeckManaColors() 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_LAND; ++colorIdx ) + for( int colorIdx = Constants::MTG_COLOR_GREEN; colorIdx < Constants::MTG_COLOR_WASTE; ++colorIdx ) { if ( (deckManaColors.at(colorIdx) == '1') != 0) { diff --git a/projects/mtg/src/DeckStats.cpp b/projects/mtg/src/DeckStats.cpp index b4233f0d3..d24abca13 100644 --- a/projects/mtg/src/DeckStats.cpp +++ b/projects/mtg/src/DeckStats.cpp @@ -394,7 +394,7 @@ void StatsWrapper::updateStats(string filename, MTGAllCards *collection) void StatsWrapper::updateStats(DeckDataWrapper *myDeck) { - if(!this) return; + if(!this) return; if (!this->needUpdate || !myDeck) return; this->needUpdate = false;