From ccdd16bbc77edccb24ec868bd606bbd758d9e388 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Sat, 15 Aug 2015 19:13:48 +0800 Subject: [PATCH] Used proper constant --- projects/mtg/include/WFilter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/include/WFilter.h b/projects/mtg/include/WFilter.h index 2ea305be5..0a246925b 100644 --- a/projects/mtg/include/WFilter.h +++ b/projects/mtg/include/WFilter.h @@ -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();