Explorar el Código

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

This reverts commit d9952495391f7ac77dd32dcf33f487e146b3655b.
nordsoft hace 2 años
padre
commit
5f52e6b35e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
 	}