this part didnt commit in last rev, it fixes the mana display.
the progress is removed on this though, so you might not notice it until next release when you do a fresh install. any new decks for both player or ai will show the mana symbols after a match is completed.
This commit is contained in:
@@ -124,8 +124,8 @@ void DeckMenu::RenderDeckManaColors()
|
||||
float manaIconY = 55;
|
||||
if (mSelectedDeck &&displayDeckMana)
|
||||
{
|
||||
string deckManaColors = mSelectedDeck->getColorIndex();
|
||||
if ( deckManaColors.compare("") != 0 && ( deckManaColors.length() == 6 ))
|
||||
string deckManaColors = mSelectedDeck->getColorIndex().c_str();
|
||||
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 )
|
||||
|
||||
@@ -372,7 +372,8 @@ string StatsWrapper::getManaColorIndex()
|
||||
oss << "1";
|
||||
else
|
||||
oss <<"0";
|
||||
return oss.str();
|
||||
string index = oss.str();
|
||||
return index;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user