just a couple comments to say what "basicabilities[55]" is to make it clear.
This commit is contained in:
@@ -307,7 +307,7 @@ void CardGui::alternateRender(MTGCard * card, const Pos& pos){
|
|||||||
string s = "";
|
string s = "";
|
||||||
for (int i = card->data->types.size() - 1; i > 0; --i)
|
for (int i = card->data->types.size() - 1; i > 0; --i)
|
||||||
{
|
{
|
||||||
if(card->data->basicAbilities[55]){
|
if(card->data->basicAbilities[55]){// this avoids drawing the list of subtypes on changeling cards.
|
||||||
s += _("Shapeshifter - ");
|
s += _("Shapeshifter - ");
|
||||||
break;
|
break;
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ void CardPrimitive::setSubtype(const string& value){
|
|||||||
int id = Subtypes::subtypesList->find(value);
|
int id = Subtypes::subtypesList->find(value);
|
||||||
addType(id);
|
addType(id);
|
||||||
|
|
||||||
if(basicAbilities[55]){
|
if(basicAbilities[55]){//if the card is a changeling.
|
||||||
for(int i=Subtypes::LAST_TYPE+1;;i++){
|
for(int i=Subtypes::LAST_TYPE+1;;i++){
|
||||||
string s = Subtypes::subtypesList->find(i);
|
string s = Subtypes::subtypesList->find(i);
|
||||||
if(!hasSubtype(i))
|
if(!hasSubtype(i))
|
||||||
|
|||||||
Reference in New Issue
Block a user