From 5d138891d89833d7dae764b2ecc59755e7ab8655 Mon Sep 17 00:00:00 2001 From: Uleat Date: Sat, 22 Jun 2019 06:42:06 -0400 Subject: [PATCH] Fix for insufficient spell mana logging --- zone/spells.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index 45850fe07..8b1a08d19 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -455,7 +455,7 @@ bool Mob::DoCastSpell(uint16 spell_id, uint16 target_id, CastingSlot slot, { mana_cost = 0; } else { - Log(Logs::Detail, Logs::Spells, "Spell Error not enough mana spell=%d mymana=%d cost=%d\n", GetName(), spell_id, my_curmana, mana_cost); + Log(Logs::Detail, Logs::Spells, "Spell Error not enough mana spell=%d mymana=%d cost=%d\n", spell_id, my_curmana, mana_cost); if(IsClient()) { //clients produce messages... npcs should not for this case Message_StringID(13, INSUFFICIENT_MANA);