Misc fixes

This commit is contained in:
hondacrx
2024-02-06 22:12:17 -05:00
parent 19e7f86c26
commit 6abce678ca
14 changed files with 62 additions and 38 deletions
+1 -1
View File
@@ -2836,7 +2836,7 @@ namespace Game.Spells
foreach (WorldObject unit in units)
{
if (!targets.ContainsKey(unit))
if (!targets.ContainsKey(unit.ToUnit()))
targets[unit.ToUnit()] = 0;
targets[unit.ToUnit()] |= 1u << (int)spellEffectInfo.EffectIndex;