mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Bonus Source ID now uses metaidentifier
This commit is contained in:
@ -222,7 +222,7 @@ void CGObjectInstance::giveDummyBonus(const ObjectInstanceID & heroID, BonusDura
|
||||
gbonus.id = heroID.getNum();
|
||||
gbonus.bonus.duration = duration;
|
||||
gbonus.bonus.source = BonusSource::OBJECT;
|
||||
gbonus.bonus.sid = ID;
|
||||
gbonus.bonus.sid = TBonusSourceID(ID);
|
||||
cb->giveHeroBonus(&gbonus);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user