diff options
author | Seyden <saiifii@live.de> | 2022-12-30 17:57:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-30 17:57:58 +0100 |
commit | 24d21301a6da3bf4fb50df21064f669512d06617 (patch) | |
tree | 46ad4fef30831934a26f830dd732ee5dd260376a | |
parent | f291ca97962e087f9d87077b1ee6fa5b386937ed (diff) |
Core/Objects: ignore database visibility conditions for personal clones (#28548)
-rw-r--r-- | src/server/game/Entities/Object/Object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Object/Object.cpp b/src/server/game/Entities/Object/Object.cpp index 5b2e87505f7..2d384ae6320 100644 --- a/src/server/game/Entities/Object/Object.cpp +++ b/src/server/game/Entities/Object/Object.cpp @@ -1490,7 +1490,7 @@ bool WorldObject::CanSeeOrDetect(WorldObject const* obj, bool ignoreStealth, boo if (smoothPhasing->IsBeingReplacedForSeer(GetGUID())) return false; - if (!sConditionMgr->IsObjectMeetingVisibilityByObjectIdConditions(obj->GetTypeId(), obj->GetEntry(), this)) + if (!obj->IsPrivateObject() && !sConditionMgr->IsObjectMeetingVisibilityByObjectIdConditions(obj->GetTypeId(), obj->GetEntry(), this)) return false; bool corpseVisibility = false; |