1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Replace global bonus tree change counter with per-node counter

This commit is contained in:
Ivan Savenko
2025-01-10 23:45:02 +00:00
parent 5ec5e23534
commit e829d723b2
20 changed files with 93 additions and 121 deletions

View File

@@ -953,7 +953,7 @@ TConstBonusListPtr CUnitStateDetached::getAllBonuses(const CSelector & selector,
return bonus->getAllBonuses(selector, limit, cachingStr);
}
int64_t CUnitStateDetached::getTreeVersion() const
int32_t CUnitStateDetached::getTreeVersion() const
{
return bonus->getTreeVersion();
}