mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Bonus Source ID now uses metaidentifier
This commit is contained in:
@@ -50,7 +50,7 @@ void CRewardableConstructor::configureObject(CGObjectInstance * object, CRandomG
|
||||
for (auto & bonus : rewardInfo.reward.bonuses)
|
||||
{
|
||||
bonus.source = BonusSource::OBJECT;
|
||||
bonus.sid = rewardableObject->ID;
|
||||
bonus.sid = TBonusSourceID(rewardableObject->ID);
|
||||
}
|
||||
}
|
||||
assert(!rewardableObject->configuration.info.empty());
|
||||
|
||||
Reference in New Issue
Block a user