mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Or should not be the same way as And.
This commit is contained in:
parent
1e8c58ecdf
commit
68603245c4
@ -53,7 +53,7 @@ public:
|
||||
CSelector Or(CSelector rhs) const
|
||||
{
|
||||
auto thisCopy = *this;
|
||||
return [thisCopy, rhs](const Bonus *b) mutable { return thisCopy(b) && rhs(b); };
|
||||
return [thisCopy, rhs](const Bonus *b) mutable { return thisCopy(b) || rhs(b); };
|
||||
}
|
||||
|
||||
bool operator()(const Bonus *b) const
|
||||
|
Loading…
Reference in New Issue
Block a user