mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Hota-related bugs were fixed
This commit is contained in:
@@ -72,7 +72,7 @@ bool Rewardable::Limiter::heroAllowed(const CGHeroInstance * hero) const
|
||||
|
||||
if(daysPassed != 0)
|
||||
{
|
||||
if (IObjectInterface::cb->getDate(Date::DAY) < daysPassed)
|
||||
if (IObjectInterface::cb->getDate(Date::DAY) <= daysPassed)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user