소스 검색

Update lib/spells/BattleSpellMechanics.cpp

Co-authored-by: Ivan Savenko <[email protected]>
Opuszek 3 달 전
부모
커밋
c78e8aa69f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/spells/BattleSpellMechanics.cpp

+ 1 - 1
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<int> directSpellRange = { 0 };
 	const std::string magicMirrorCacheStr = "type_MAGIC_MIRROR";
 	static const auto magicMirrorSelector = Selector::type()(BonusType::MAGIC_MIRROR);