Core/Spells: Add missing member initialization. (#238)
This commit is contained in:
1 parent
6c1dc2d56b
commit
2fb9e0da8c
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user