浏览代码

Revert "Auxiliary commit to revert individual files from 2bf8cdc9f525099348439c700af0466955f01b30"

This reverts commit d9952495391f7ac77dd32dcf33f487e146b3655b.
nordsoft 2 年之前
父节点
当前提交
5f52e6b35e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/rewardable/Limiter.cpp

+ 1 - 1
lib/rewardable/Limiter.cpp

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