From a92233240c5760eeacc2d60583ca9bfb9cc95cbf Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sat, 10 Jan 2015 15:55:10 -0600 Subject: [PATCH] Replaced Normal calls --- zone/bot.cpp | 4 ++-- zone/npc.cpp | 2 +- zone/tradeskills.cpp | 2 +- zone/zone.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/zone/bot.cpp b/zone/bot.cpp index 3b860ab92..013f08a74 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -7028,7 +7028,7 @@ int32 Bot::CalcBotFocusEffect(BotfocusType bottype, uint16 focus_id, uint16 spel return 0; break; default: - LogFile->write(EQEmuLog::Normal, "CalcFocusEffect: unknown limit spelltype %d", focus_spell.base[i]); + logger.Log(EQEmuLogSys::Normal, "CalcFocusEffect: unknown limit spelltype %d", focus_spell.base[i]); } break; @@ -7336,7 +7336,7 @@ int32 Bot::CalcBotFocusEffect(BotfocusType bottype, uint16 focus_id, uint16 spel //this spits up a lot of garbage when calculating spell focuses //since they have all kinds of extra effects on them. default: - LogFile->write(EQEmuLog::Normal, "CalcFocusEffect: unknown effectid %d", focus_spell.effectid[i]); + logger.Log(EQEmuLogSys::Normal, "CalcFocusEffect: unknown effectid %d", focus_spell.effectid[i]); #endif } } diff --git a/zone/npc.cpp b/zone/npc.cpp index c95f4e417..9f67afbd5 100644 --- a/zone/npc.cpp +++ b/zone/npc.cpp @@ -1672,7 +1672,7 @@ void Mob::NPCSpecialAttacks(const char* parse, int permtag, bool reset, bool rem { if(database.SetSpecialAttkFlag(this->GetNPCTypeID(), orig_parse)) { - LogFile->write(EQEmuLog::Normal, "NPCTypeID: %i flagged to '%s' for Special Attacks.\n",this->GetNPCTypeID(),orig_parse); + logger.Log(EQEmuLogSys::Normal, "NPCTypeID: %i flagged to '%s' for Special Attacks.\n",this->GetNPCTypeID(),orig_parse); } } } diff --git a/zone/tradeskills.cpp b/zone/tradeskills.cpp index 399935dd1..b249e2c28 100644 --- a/zone/tradeskills.cpp +++ b/zone/tradeskills.cpp @@ -1482,7 +1482,7 @@ void Client::LearnRecipe(uint32 recipeID) } if (results.RowCount() != 1) { - LogFile->write(EQEmuLog::Normal, "Client::LearnRecipe - RecipeID: %d had %d occurences.", recipeID, results.RowCount()); + logger.Log(EQEmuLogSys::Normal, "Client::LearnRecipe - RecipeID: %d had %d occurences.", recipeID, results.RowCount()); return; } diff --git a/zone/zone.cpp b/zone/zone.cpp index a8a030cf9..9c00d23cb 100644 --- a/zone/zone.cpp +++ b/zone/zone.cpp @@ -144,7 +144,7 @@ bool Zone::Bootup(uint32 iZoneID, uint32 iInstanceID, bool iStaticZone) { delete pack; } - LogFile->write(EQEmuLog::Normal, "---- Zone server %s, listening on port:%i ----", zonename, ZoneConfig::get()->ZonePort); + logger.Log(EQEmuLogSys::Normal, "---- Zone server %s, listening on port:%i ----", zonename, ZoneConfig::get()->ZonePort); logger.Log(EQEmuLogSys::Status, "Zone Bootup: %s (%i: %i)", zonename, iZoneID, iInstanceID); parse->Init(); UpdateWindowTitle(); @@ -711,7 +711,7 @@ void Zone::Shutdown(bool quite) petition_list.ClearPetitions(); zone->GotCurTime(false); if (!quite) - LogFile->write(EQEmuLog::Normal, "Zone shutdown: going to sleep"); + logger.Log(EQEmuLogSys::Normal, "Zone shutdown: going to sleep"); ZoneLoaded = false; zone->ResetAuth();