1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-01 23:12:49 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2024-12-26 16:58:04 +00:00
parent 39d2f27589
commit 579b64cd39
2 changed files with 8 additions and 0 deletions

View File

@@ -18,6 +18,8 @@
#include "../VCMI_Lib.h"
#include "../IGameSettings.h"
VCMI_LIB_NAMESPACE_BEGIN
int BonusCacheBase::getBonusValueImpl(BonusCacheEntry & currentValue, const CSelector & selector, BonusCacheMode mode) const
{
if (target->getTreeVersion() == currentValue.version)
@@ -174,3 +176,5 @@ int BonusCachePerTurn::getValue(int turns) const
return getValueUncached(turns);
}
}
VCMI_LIB_NAMESPACE_END