From fe5044aac3f921a30ac04ebd0a85c35e3eb5856d Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Fri, 31 Jan 2020 07:59:44 +0100 Subject: [PATCH] Core/AI: summons that are considered as "guides" will no longer follow players on spawn --- src/server/game/AI/CreatureAI.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp index c27b3af782..842380173c 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -202,6 +202,11 @@ static bool ShouldFollowOnSpawn(SummonPropertiesEntry const* properties) case SUMMON_CATEGORY_UNK: if (properties->Flags & 512) return true; + + // Guides. They have their own movement + if (properties->Flags & SUMMON_PROP_FLAG_UNK14) + return false; + switch (properties->Title) { case SUMMON_TYPE_PET: