From 27256215b8d2191d391128e7076a88322da0ef56 Mon Sep 17 00:00:00 2001 From: Paul Coene Date: Mon, 15 Jan 2024 14:01:24 -0500 Subject: [PATCH] [Messages] Fix disciple message added by previous patch. (#3986) --- zone/spells.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index c1674e503..73de80e1a 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -3806,7 +3806,7 @@ bool Mob::SpellOnTarget( LogSpells("Casting spell [{}] on [{}] with effective caster level [{}]", spell_id, spelltar->GetName(), caster_level); if (IsOfClientBotMerc() && (IsDiscipline(spell_id) || spells[spell_id].is_discipline)) { - entity_list.MessageClose(this, false, 200, 0, fmt::format("{}{}", GetCleanName(), spells[spell_id].cast_on_other).c_str()); + entity_list.MessageClose(this, false, 200, 0, fmt::format("{}{}", spelltar->GetCleanName(), spells[spell_id].cast_on_other).c_str()); } // Actual cast action - this causes the caster animation and the particles