From 62d9de30746ab1c758140d980d3866d87f5a3d6d Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sat, 24 Jan 2015 22:01:37 -0600 Subject: [PATCH] Cleanup logging in Client::Handle_OP_CastSpell as well as some more conversions --- zone/client_packet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index 8e8f88070..9796cc52a 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -4021,7 +4021,7 @@ void Client::Handle_OP_CastSpell(const EQApplicationPacket *app) //discipline, using the item spell slot if (castspell->inventoryslot == INVALID_INDEX) { if (!UseDiscipline(castspell->spell_id, castspell->target_id)) { - Log.Out(Logs::General, Logs::None, "Unknown ability being used by %s, spell being cast is: %i\n", GetName(), castspell->spell_id); + Log.Out(Logs::General, Logs::Spells, "Unknown ability being used by %s, spell being cast is: %i\n", GetName(), castspell->spell_id); InterruptSpell(castspell->spell_id); } return; @@ -4099,7 +4099,7 @@ void Client::Handle_OP_CastSpell(const EQApplicationPacket *app) /* Discipline */ else if (castspell->slot == DISCIPLINE_SPELL_SLOT) { if (!UseDiscipline(castspell->spell_id, castspell->target_id)) { - printf("Unknown ability being used by %s, spell being cast is: %i\n", GetName(), castspell->spell_id); + Log.Out(Logs::General, Logs::Spells, "Unknown ability being used by %s, spell being cast is: %i\n", GetName(), castspell->spell_id); InterruptSpell(castspell->spell_id); return; }