Used proper constant

This commit is contained in:
Anthony Calosa
2015-08-15 19:13:48 +08:00
parent 9cf6e621ab
commit ccdd16bbc7

View File

@@ -234,7 +234,7 @@ public:
WCFilterSet(string arg);
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();