mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +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 | ||||
| 	{ | ||||
| 		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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user