Core/Spell: reverted changes for NO_TARGET handling

Partial revert of 584d347b70be521d7431dfe1694b80f2e95b957b

Closes #18666
This commit is contained in:
ariel- authored and roc13x committed 2017-05-04 03:59:55 +01:00
1 parent c89bf30b4d
commit a15aaf68c3
1 file changed
-2
-2
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)