Removes viewing of tokens (rarity with T) on Spoiler

This commit is contained in:
Anthony Calosa
2015-08-15 14:51:26 +08:00
parent 94a97a3032
commit 9cf6e621ab
+1 -1
View File
@@ -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); 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 :)
} }
; ;
string getCode(); string getCode();