From 451983ffc9a9fe0c85647b91b559126413299f4e Mon Sep 17 00:00:00 2001 From: Natedog2012 Date: Fri, 23 Jan 2015 11:13:53 -0800 Subject: [PATCH] Fix formatting on this.. which caused major zone crashes --- zone/spells.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index 205029116..d6caa0f2e 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -1977,7 +1977,7 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, uint16 slot, uint16 // check line of sight to target if it's a detrimental spell if(!spells[spell_id].npc_no_los && spell_target && IsDetrimentalSpell(spell_id) && !CheckLosFN(spell_target) && !IsHarmonySpell(spell_id) && spells[spell_id].targettype != ST_TargetOptional) { - Log.Out(Logs::Detail, Logs::Spells, "Spell %d: cannot see target %s", spell_target->GetName()); + Log.Out(Logs::Detail, Logs::Spells, "Spell %d: cannot see target %s", spell_id, spell_target->GetName()); Message_StringID(13,CANT_SEE_TARGET); return false; }