Core/Spells: Add missing member initialization. (#238)

This commit is contained in:
Warpten authored and GitHub committed 2021-02-23 22:01:35 +01:00
1 parent 6c1dc2d56b
commit 2fb9e0da8c
1 file changed
+1
+1
View File
@@ -2218,6 +2218,7 @@ void Spell::AddUnitTarget(Unit* target, uint32 effectMask, bool checkIfValid /*=
targetInfo.damage = 0;
targetInfo.crit = false;
targetInfo.scaleAura = false;
targetInfo.missCondition = SPELL_MISS_NONE;
}
bool hasReflectData = targetInfo.missCondition == SPELL_MISS_REFLECT;