We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f386fcb commit e593dbcCopy full SHA for e593dbc
src/game/DBScripts/ScriptMgr.cpp
@@ -165,7 +165,7 @@ void ScriptMgr::LoadScripts(ScriptMapType scriptType)
165
}
166
167
// generic command args check
168
- if (tmp.buddyEntry && !(tmp.data_flags & SCRIPT_FLAG_BUDDY_BY_GUID) && (tmp.data_flags & SCRIPT_FLAG_BUDDY_BY_STRING_ID) == 0)
+ if (tmp.buddyEntry && !(tmp.data_flags & SCRIPT_FLAG_BUDDY_BY_GUID) && (tmp.data_flags & SCRIPT_FLAG_BUDDY_BY_SPAWN_GROUP) == 0 && (tmp.data_flags & SCRIPT_FLAG_BUDDY_BY_STRING_ID) == 0)
169
{
170
if (tmp.IsCreatureBuddy() && !ObjectMgr::GetCreatureTemplate(tmp.buddyEntry))
171
0 commit comments