Commit 3966279c authored by salix5's avatar salix5

FilterCards()

parent c61af7f1
......@@ -670,8 +670,7 @@ void DeckBuilder::FilterCards() {
continue;
switch(filter_type) {
case 1: {
int type2 = data.type & 0xe03ef1;
if(!(data.type & TYPE_MONSTER) || (filter_type2 == 0x21 && type2 != 0x21) || (data.type & filter_type2) != filter_type2)
if(!(data.type & TYPE_MONSTER) || (data.type & filter_type2) != filter_type2)
continue;
if(filter_race && data.race != filter_race)
continue;
......
Subproject commit 85d2b687cdbb4a3bb925a06cf66f0a46c1f08e08
Subproject commit 86121c0956b51e9fdef38fe8acfe75af004c0abe
Subproject commit f0df5c7e608a8757ac84e521e3766347e752b252
Subproject commit 77198cbbe34a52a7e92aae63b23926dd695308b4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment