Revert "Accept [and] and [or] in [filter_wml]"
This reverts commit 82fd82d534
.
This commit is contained in:
parent
1fe396309e
commit
ebde628e05
2 changed files with 2 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue