Build fix

This commit is contained in:
Shauren
2016-07-09 22:46:51 +02:00
parent e47d4de6ec
commit dd20865cd7

View File

@@ -286,7 +286,7 @@ bool SpellTargetSelector::operator()(Unit const* target) const
}
if (target && _caster->isMoving() && target->isMoving() && !_caster->IsWalking() && !target->IsWalking() &&
(_spellInfo->RangeEntry->type & SPELL_RANGE_MELEE || target->GetTypeId() == TYPEID_PLAYER))
(_spellInfo->RangeEntry->Flags & SPELL_RANGE_MELEE || target->GetTypeId() == TYPEID_PLAYER))
rangeMod += 5.0f / 3.0f;
}