Core/Spells: reduce differences between branches

This commit is contained in:
Ovahlord committed 2025-08-02 09:39:15 +02:00
1 parent c158f40455
commit 48c21d7161
8 files changed
+41 -42

No files matched your search

+2 -2
View File
@@ -2951,8 +2951,8 @@ SpellCastResult WorldObject::CastSpell(SpellCastTargets const& targets, uint32 s
}
Spell* spell = new Spell(this, info, args.TriggerFlags, args.OriginalCaster);
for (auto const& pair : args.SpellValueOverrides)
spell->SetSpellValue(pair.first, pair.second);
for (CastSpellExtraArgsInit::SpellValueOverride const& value : args.SpellValueOverrides)
spell->SetSpellValue(value);
spell->m_CastItem = args.CastItem;