Fixed a bug where "Maxglee" cheat was adding token workaround cards to the collection. also, removed subtype search "nothing" from the Wfilters...before anyone jumps on me, there are over 18000s MTG cards, NOT a single ones of those cards have subtype="nothing" or any variations of "nothing"

This commit is contained in:
omegablast2002@yahoo.com
2010-10-22 14:53:39 +00:00
parent e6bc59fa97
commit f3449592de
2 changed files with 13 additions and 0 deletions

View File

@@ -1676,7 +1676,11 @@ void WGuiFilterItem::updateValue(){
string s = Subtypes::subtypesList->find(i);
if(s == "") break;
if(s.find(" ") != string::npos) continue;
if(s == "Nothing")
{//dont add "nothing" to the search filters.
}else{
stlist.push_back(s);
}
}
std::sort(stlist.begin(),stlist.end());
for(size_t t=0;t<stlist.size();t++){