From dd2b12b517b61fc320078c1952986ed03afb60c3 Mon Sep 17 00:00:00 2001 From: Uleat Date: Wed, 31 Jan 2018 17:46:28 -0500 Subject: [PATCH] Fix for 'MobAI_DEBUG_Spells >= 10' compile failure [skip-ci] --- zone/mob_ai.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone/mob_ai.cpp b/zone/mob_ai.cpp index bda34da46..bbda210fe 100644 --- a/zone/mob_ai.cpp +++ b/zone/mob_ai.cpp @@ -2366,10 +2366,10 @@ bool NPC::AI_AddNPCSpells(uint32 iDBSpellsID) { #if MobAI_DEBUG_Spells >= 10 std::string debug_msg = StringFormat("Loading NPCSpells onto %s: dbspellsid=%u", this->GetName(), iDBSpellsID); if (spell_list) { - debug_msg.append(StringFormat(" (found, %u), parentlist=%u", spell_list->numentries, spell_list->parent_list)); + debug_msg.append(StringFormat(" (found, %u), parentlist=%u", spell_list->entries.size(), spell_list->parent_list)); if (spell_list->parent_list) { if (parentlist) - debug_msg.append(StringFormat(" (found, %u)", parentlist->numentries)); + debug_msg.append(StringFormat(" (found, %u)", parentlist->entries.size())); else debug_msg.append(" (not found)"); }