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:
@@ -29,7 +29,7 @@ BattleFieldInfo * BattleFieldHandler::loadFromJson(const std::string & scope, co
|
||||
auto bonus = JsonUtils::parseBonus(b);
|
||||
|
||||
bonus->source = BonusSource::TERRAIN_OVERLAY;
|
||||
bonus->sid = info->getIndex();
|
||||
bonus->sid = TBonusSourceID(info->getId());
|
||||
bonus->duration = BonusDuration::ONE_BATTLE;
|
||||
|
||||
info->bonuses.push_back(bonus);
|
||||
|
||||
Reference in New Issue
Block a user