Revert "Accept [and] and [or] in [filter_wml]"

This reverts commit 82fd82d534.
This commit is contained in:
Celtic Minstrel 2018-04-10 22:14:13 -04:00
parent 1fe396309e
commit ebde628e05
2 changed files with 2 additions and 12 deletions

View file

@ -18,6 +18,8 @@
* Fixed images with no alpha channel rendering incorrectly.
* Fixed unit selection not persisting between uses of Create Unit.
* Fixed assertion when undoing actions in a synced context.
* [filter_wml] no longer accepts [and] and [or] in addition to [not] since
the implementation was non-functional.
## Version 1.13.13
### Campaigns

View file

@ -1195,18 +1195,6 @@ bool config::matches(const config& filter) const
return false;
}
continue;
} else if(i.key == "and") {
if(!matches(i.cfg)) {
return false;
}
continue;
} else if(i.key == "or") {
if(matches(i.cfg)) {
return true;
}
continue;
}