mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Refactor quests progress
This commit is contained in:
@ -57,6 +57,11 @@ bool operator==(const Rewardable::Limiter & l, const Rewardable::Limiter & r)
|
||||
&& l.anyOf == r.anyOf;
|
||||
}
|
||||
|
||||
bool operator!=(const Rewardable::Limiter & l, const Rewardable::Limiter & r)
|
||||
{
|
||||
return !(l == r);
|
||||
}
|
||||
|
||||
bool Rewardable::Limiter::heroAllowed(const CGHeroInstance * hero) const
|
||||
{
|
||||
if(dayOfWeek != 0)
|
||||
|
Reference in New Issue
Block a user