From d07a7592de45c8edd03a7a10c624ee9be9258fe7 Mon Sep 17 00:00:00 2001 From: Meji Date: Tue, 22 Oct 2024 03:16:42 +0200 Subject: Core/GameObjects: Don't apply GO_DYNFLAG_LO_INTERACT_COND for GAMEOBJECT_TYPE_FLAGSTAND (#30368) (cherry picked from commit 5fc9a3afdd805df2e2fa5f9d6f12474049965906) --- src/server/game/Entities/Object/Updates/ViewerDependentValues.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Entities/Object/Updates/ViewerDependentValues.h b/src/server/game/Entities/Object/Updates/ViewerDependentValues.h index 64571c37aeb..6f3fa8ba1ae 100644 --- a/src/server/game/Entities/Object/Updates/ViewerDependentValues.h +++ b/src/server/game/Entities/Object/Updates/ViewerDependentValues.h @@ -140,7 +140,8 @@ public: { // GO_DYNFLAG_LO_INTERACT_COND should be applied to GOs with conditional interaction (without GO_FLAG_INTERACT_COND) to disable interaction // (Ignore GAMEOBJECT_TYPE_GATHERING_NODE as some profession-related GOs may include quest loot and can always be interacted with) - if (gameObject->GetGoType() != GAMEOBJECT_TYPE_GATHERING_NODE) + // (Ignore GAMEOBJECT_TYPE_FLAGSTAND as interaction is handled by GO_DYNFLAG_LO_NO_INTERACT) + if (gameObject->GetGoType() != GAMEOBJECT_TYPE_FLAGSTAND && gameObject->GetGoType() != GAMEOBJECT_TYPE_GATHERING_NODE) if (gameObject->HasConditionalInteraction() && !gameObject->HasFlag(GO_FLAG_INTERACT_COND)) dynFlags |= GO_DYNFLAG_LO_INTERACT_COND; -- cgit v1.2.3