1
0
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:
nordsoft
2023-10-13 12:52:45 +02:00
parent 9108f7e3e5
commit 2bf8cdc9f5
3 changed files with 12 additions and 7 deletions

View File

@@ -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;
}