Core/Spell: reverted changes for NO_TARGET handling

Partial revert of 584d347b70

Closes #18666

(cherry picked from commit 8ffcb4ddcb)
This commit is contained in:
ariel-
2016-12-30 13:59:46 -03:00
committed by DoctorKraft
parent 429fac7cb6
commit 9fe172d7d5

View File

@@ -692,8 +692,6 @@ uint32 SpellEffectInfo::GetMissingTargetMask(bool srcSet /*= false*/, bool dstSe
{
uint32 effImplicitTargetMask = GetTargetFlagMask(GetUsedTargetObjectType());
uint32 providedTargetMask = GetProvidedTargetMask() | mask;
if (!providedTargetMask) // no targets to select
return 0;
// remove all flags covered by effect target mask
if (providedTargetMask & TARGET_FLAG_UNIT_MASK)