From c78e8aa69ff5070c10b6e2211e3d567c33c7fc84 Mon Sep 17 00:00:00 2001 From: Opuszek Date: Tue, 8 Jul 2025 10:04:23 +0200 Subject: [PATCH] Update lib/spells/BattleSpellMechanics.cpp Co-authored-by: Ivan Savenko --- lib/spells/BattleSpellMechanics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spells/BattleSpellMechanics.cpp b/lib/spells/BattleSpellMechanics.cpp index 38154af2a..da649c458 100644 --- a/lib/spells/BattleSpellMechanics.cpp +++ b/lib/spells/BattleSpellMechanics.cpp @@ -437,7 +437,7 @@ void BattleSpellMechanics::beforeCast(BattleSpellCast & sc, vstd::RNG & rng, con bool BattleSpellMechanics::isReflected(const battle::Unit * unit, vstd::RNG & rng) { auto range = owner -> getLevelInfo(getRangeLevel()).range; - const auto directSpellRange = boost::assign::list_of(0); + const std::vector directSpellRange = { 0 }; const std::string magicMirrorCacheStr = "type_MAGIC_MIRROR"; static const auto magicMirrorSelector = Selector::type()(BonusType::MAGIC_MIRROR);