From e5dfb81fb99319df32bcd2a89696974aa8bf844d Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Sat, 9 Jul 2011 20:33:07 +0000 Subject: [PATCH] added the missing types into types filtering. http://code.google.com/p/wagic/issues/detail?id=706 these types were converted into part of the "types" enum and are no longer considered a subtype in the engine. as they appear before Subtypes::LAST_TYPE they are to return "" as their subtype search result. i figured there was no harm in including them in the types list filtering as they were moved from subtypes becuase they were some of the most frequently used subtypes. --- projects/mtg/src/WGui.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/mtg/src/WGui.cpp b/projects/mtg/src/WGui.cpp index ed6de6483..1e8496536 100644 --- a/projects/mtg/src/WGui.cpp +++ b/projects/mtg/src/WGui.cpp @@ -1992,12 +1992,17 @@ void WGuiFilterItem::updateValue() { mParent->addArg("Artifact", "t:Artifact;"); mParent->addArg("Artifact Creature", "t:Artifact;&t:Creature;"); + mParent->addArg("Aura", "t:Aura;"); + mParent->addArg("Basic", "t:Basic;"); mParent->addArg("Creature", "t:Creature;"); mParent->addArg("Enchantment", "t:Enchantment;"); + mParent->addArg("Equipment", "t:Equipment;"); mParent->addArg("Instant", "t:Instant;"); mParent->addArg("Land", "t:Land;"); mParent->addArg("Legendary", "t:Legendary;"); mParent->addArg("Sorcery", "t:Sorcery;"); + mParent->addArg("Tribal", "t:Tribal;"); + } else if (filterType == FILTER_SUBTYPE) {