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

Add limiter serialization

This commit is contained in:
nordsoft
2023-09-15 23:00:33 +02:00
parent 4af2d917c0
commit 4f76eb3fce
3 changed files with 79 additions and 2 deletions

View File

@@ -111,6 +111,7 @@ void CRewardableObject::onHeroVisit(const CGHeroInstance *h) const
case Rewardable::SELECT_ALL: // give all rewards
for(auto i : rewards)
grantRewardWithMessage(i, i == rewards.size() - 1);
break;
}
break;
}