Commit 574fd1f1 authored by mercury233's avatar mercury233

fix card search scale filter

parent ebcc1aea
......@@ -889,8 +889,8 @@ void DeckBuilder::FilterCards() {
}
if(filter_scltype) {
if((filter_scltype == 1 && data.lscale != filter_scl) || (filter_scltype == 2 && data.lscale < filter_scl)
|| (filter_scltype == 3 && data.lscale <= filter_scl) || (filter_scltype == 4 && (data.lscale > filter_scl || data.lscale == 0))
|| (filter_scltype == 5 && (data.lscale >= filter_scl || data.lscale == 0)) || filter_scltype == 6
|| (filter_scltype == 3 && data.lscale <= filter_scl) || (filter_scltype == 4 && (data.lscale > filter_scl))
|| (filter_scltype == 5 && (data.lscale >= filter_scl)) || filter_scltype == 6
|| !(data.type & TYPE_PENDULUM))
continue;
}
......
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