Core/AI: summons that are considered as "guides" will no longer follow players on spawn

This commit is contained in:
Ovahlord committed 2020-01-31 07:59:44 +01:00
1 parent 86d479a087
commit fe5044aac3
1 file changed
+5
+5
View File
@@ -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: