Core/Spell: reverted changes for NO_TARGET handling

Partial revert of 584d347b70

Closes #18666
This commit is contained in:
ariel-
2016-12-30 13:59:46 -03:00
committed by roc13x
parent c89bf30b4d
commit a15aaf68c3

View File

@@ -646,8 +646,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)