Used proper constant
This commit is contained in:
@@ -234,7 +234,7 @@ public:
|
|||||||
WCFilterSet(string arg);
|
WCFilterSet(string arg);
|
||||||
bool isMatch(MTGCard *c)
|
bool isMatch(MTGCard *c)
|
||||||
{
|
{
|
||||||
return (setid == MTGSets::ALL_SETS || c->setId == setid) && (c->getRarity() != 'T'); //removes viewing of card tokens. tokens will not display on spoiler and should not affect gameplay :)
|
return (setid == MTGSets::ALL_SETS || c->setId == setid) && (c->getRarity() != Constants::RARITY_T); //removes viewing of card tokens. tokens will not display on spoiler and should not affect gameplay :)
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
string getCode();
|
string getCode();
|
||||||
|
|||||||
Reference in New Issue
Block a user