mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Or should not be the same way as And.
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
|||||||
CSelector Or(CSelector rhs) const
|
CSelector Or(CSelector rhs) const
|
||||||
{
|
{
|
||||||
auto thisCopy = *this;
|
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
|
bool operator()(const Bonus *b) const
|
||||||
|
Reference in New Issue
Block a user