diff --git a/src/game/Object/Unit.cpp b/src/game/Object/Unit.cpp index af01e84e..56c095d9 100644 --- a/src/game/Object/Unit.cpp +++ b/src/game/Object/Unit.cpp @@ -6725,20 +6725,7 @@ bool Unit::IsVisibleForOrDetect(Unit const* u, WorldObject const* viewPoint, boo // special cases for always overwrite invisibility/stealth if (invisible || m_Visibility == VISIBILITY_GROUP_STEALTH) { - // non-hostile case - if (!u->IsHostileTo(this)) - { - // player see other player with stealth/invisibility only if he in same group or raid or same team (raid/team case dependent from conf setting) - if (GetTypeId() == TYPEID_PLAYER && u->GetTypeId() == TYPEID_PLAYER) - { - if (((Player*)this)->IsGroupVisibleFor(((Player*)u))) - { return true; } - - // else apply same rules as for hostile case (detecting check for stealth) - } - } - // hostile case - else + if (u->IsHostileTo(this)) { // Hunter mark functionality AuraList const& auras = GetAurasByType(SPELL_AURA_MOD_STALKED);